diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2020-03-12 12:51:49 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2020-03-20 15:24:05 +0300 |
commit | 36b55bee4247565b3e5a7237672bbdc2237447f0 (patch) | |
tree | f405ab688c46473b0e8a747ca8dc455a7e6d35df /source/blender/editors/object/object_relations.c | |
parent | 27553a2e4e03f6f7dfbb91bdeeffb108b9a05f1b (diff) |
Fix T74649: Outliner: Cannot set/clear parent with 'Keep Transforms'
Parenting in the outliner via drang and drop would always happen without
the 'Keep Transforms' option. Since this is often desired, this adds the
ability to hold Alt for doing this to the drop action.
Adding the hint to hold Alt to the operator name is not nice, but since
the operator name is used for the UI, there doesnt seem to be a nicer
way of doing this.
If modifier keys are needed back for other actions, spawning a menu
instead could be an alternative for the future.
Maniphest Tasks: T74649
Differential Revision: https://developer.blender.org/D7120
Diffstat (limited to 'source/blender/editors/object/object_relations.c')
-rw-r--r-- | source/blender/editors/object/object_relations.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c index 234cc119d6f..7c8a9750b36 100644 --- a/source/blender/editors/object/object_relations.c +++ b/source/blender/editors/object/object_relations.c @@ -487,12 +487,6 @@ void OBJECT_OT_proxy_make(wmOperatorType *ot) /********************** Clear Parent Operator ******************* */ -typedef enum eObClearParentTypes { - CLEAR_PARENT_ALL = 0, - CLEAR_PARENT_KEEP_TRANSFORM, - CLEAR_PARENT_INVERSE, -} eObClearParentTypes; - EnumPropertyItem prop_clear_parent_types[] = { {CLEAR_PARENT_ALL, "CLEAR", |