diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-13 21:36:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-13 21:58:25 +0300 |
commit | 14884cda1ff5677cacff7a038efa5440f5e15a5c (patch) | |
tree | 554eaab14782a13ed19fbe8fb40e044da3385eb7 /source/blender/makesdna/DNA_scene_types.h | |
parent | 6815efc3ff852b65ee673109c182ec53365a7828 (diff) |
Gizmo: move transform to a persistent option
Based on feedback from animators, this is useful to keep as a view
option (as in 2.7x).
Now the transform gizmos can be enabled from the popover,
the tools still work for location/scale/rotation.
The transform tool has been removed.
See T63518
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 75dda608975..49ebc9b9bac 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -1466,8 +1466,7 @@ typedef struct ToolSettings { char edge_mode; char edge_mode_live_unwrap; - /* SCE_GIZMO_SHOW_* */ - char gizmo_flag; + char _pad1[1]; /* Transform */ char transform_pivot_point; @@ -2272,13 +2271,6 @@ enum { #define EDGE_MODE_TAG_BEVEL 4 #define EDGE_MODE_TAG_FREESTYLE 5 -/* ToolSettings.gizmo_flag */ -enum { - SCE_GIZMO_SHOW_TRANSLATE = (1 << 0), - SCE_GIZMO_SHOW_ROTATE = (1 << 1), - SCE_GIZMO_SHOW_SCALE = (1 << 2), -}; - /* ToolSettings.gpencil_flags */ typedef enum eGPencil_Flags { /* When creating new frames, the last frame gets used as the basis for the new one */ |