FreeCAD: master 0de5a290

Author Committer Branch Timestamp Parent
wmayer wmayer master 2020-07-12 14:03:01 master 010a14a6
Changeset Part: fix regression of visibility automation in Attachment dialog

If a body is in a Part container and a new primitive is created no preview is shown because the Part container is automatically made invisiible.
The user has to manually make the container visible but this is an error-prone procedure because the Attachment dialog reacts on user-selection and thus
unintended things can happen. So, this is a serious regression of usability.

The regression is caused by commit a06e0b7c2df4 but the commit log doesn't explain why the change was even needed.
So, this commit leaves the previous changes but re-adds the old check to filter out container objects.
mod - src/Mod/Part/Gui/TaskAttacher.cpp Diff File