Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group fixes #803

Closed
wants to merge 29 commits into from
Closed

Group fixes #803

wants to merge 29 commits into from

Conversation

ickby
Copy link
Contributor

@ickby ickby commented Jun 3, 2017

Thank you for creating a pull request to contribute to FreeCAD! To ease integration, please confirm the following:

  • Branch rebased on latest master git pull --rebase upstream master
  • Unit tests confirmed to pass by running ./bin/FreeCAD --run-test 0
  • Commit message is well-written
  • Commit message includes issue #<id> or fixes #<id> where <id> is the associated MantisBT issue id if one exists

And please remember to update the Wiki with the features added or changed once this PR once it is merged.


This pull request adds many useful things for handling Groups and GeoFeatureGroups. It improves object adding, Drag'n'Drop, undo/redo, DependencyGraph visualisation, Placement calculation and dependency tracking.

The changes do not add support for forbidding cross coordinate system links or new link properties to handle that as initially discussed. This will be part of another pull request, as it requires more research.

@luzpaz
Copy link
Contributor

luzpaz commented Jun 3, 2017

BTW, @ickby does this PR address any open mantis tickets ?

@ickby
Copy link
Contributor Author

ickby commented Jun 3, 2017

@luzpaz I don't know. Most of this code is already a bit older, I did some cherry picking and updating now to submit the PR. There have been a few forum topics about issues that are going to be solved with this code, but tracker issues I don't know anymore. I can have a look through the tracker later, need to tackle that build failure anyway...

@ickby
Copy link
Contributor Author

ickby commented Jun 4, 2017

ickby added 24 commits June 17, 2017 06:36
Property group "User parameter:BaseApp/Preferences/DependencyGraph" has two booleans to enable subgraphing and unflatten (by default on): "Unflatten", "GeoFeatureSubgraphs"
The user expects to undo the drag and drop action with a single click (as it happens with a single drag&drop action). Hence the command must be handled by the tree, not the viewproviders.
The DAG test is not needed anymore as the relevant functions are non-DAG save now, and the other check will be moved to the recompute as it is not efficient or save to do it in the links itself.
@ickby
Copy link
Contributor Author

ickby commented Jun 17, 2017

Rebased to current master

@wwmayer
Copy link
Contributor

wwmayer commented Jun 19, 2017

Merged.

@wwmayer wwmayer closed this Jun 19, 2017
@sasobadovinac
Copy link
Contributor

Go Werner! 👍 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants