diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-23 08:14:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-23 08:14:52 +0300 |
commit | be24da0a984a503da8f0588fd302cbeff03c6951 (patch) | |
tree | 9d44f2c4413a81cad5db729a1802662a5c4936aa /source/blender/windowmanager/gizmo/WM_gizmo_types.h | |
parent | 7ce38978aea12bd912f46eed836f8210ec0cf03e (diff) |
Gizmo: add support for gizmos to initialize from the active tool
Diffstat (limited to 'source/blender/windowmanager/gizmo/WM_gizmo_types.h')
-rw-r--r-- | source/blender/windowmanager/gizmo/WM_gizmo_types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/windowmanager/gizmo/WM_gizmo_types.h b/source/blender/windowmanager/gizmo/WM_gizmo_types.h index c92172dff15..ee574d26750 100644 --- a/source/blender/windowmanager/gizmo/WM_gizmo_types.h +++ b/source/blender/windowmanager/gizmo/WM_gizmo_types.h @@ -87,6 +87,9 @@ typedef enum eWM_GizmoFlag { WM_GIZMO_MOVE_CURSOR = (1 << 7), /** Don't write into the depth buffer when selecting. */ WM_GIZMO_SELECT_BACKGROUND = (1 << 8), + + /** Use the active tools operator properties when running as an operator. */ + WM_GIZMO_OPERATOR_TOOL_INIT = (1 << 9), } eWM_GizmoFlag; /** |