FreeCAD: master ffcd0f5c

Author Committer Branch Timestamp Parent
chennes chennes master 2021-03-23 14:12:56 master 7d118f31
Changeset [Draft] Enable Transform context menu item

The "Transform" and "Set Colors..." context menu items did not work on
most Draft objects because the View Provider has a setEdit() function,
which overrides any edit action provided at a higher level (e.g. by
Part). This commit checks the mode of the edit, and if it is not zero,
behaves as though the setEdit() function does not exist, allowing Part
to provide the required context menu behavior.
mod - src/Mod/Draft/draftviewproviders/view_base.py Diff File