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
Group fixes #803
Conversation
BTW, @ickby does this PR address any open mantis tickets ? |
@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... |
@luzpaz thanks for looking those up. I think those three are fixed: https://freecadweb.org/tracker/view.php?id=2142 |
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.
Rebased to current master |
Merged. |
Go Werner! 👍 :) |
Thank you for creating a pull request to contribute to FreeCAD! To ease integration, please confirm the following:
git pull --rebase upstream master
./bin/FreeCAD --run-test 0
issue #<id>
orfixes #<id>
where<id>
is the associated MantisBT issue id if one existsAnd 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.