diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-24 09:20:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-24 09:20:08 +0300 |
commit | 5fff3d2237a07b1495c95c74ed3e5928c7438a6b (patch) | |
tree | cf75353e4f7f7406659e5b449167d74e82a9ac42 | |
parent | c3d46694e21dacb32a5654a363bca86cba90e74f (diff) |
Cleanup: rename gizmo flag
-rw-r--r-- | source/blender/windowmanager/gizmo/WM_gizmo_types.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/windowmanager/gizmo/WM_gizmo_types.h b/source/blender/windowmanager/gizmo/WM_gizmo_types.h index 386b4379339..bb86217d132 100644 --- a/source/blender/windowmanager/gizmo/WM_gizmo_types.h +++ b/source/blender/windowmanager/gizmo/WM_gizmo_types.h @@ -66,7 +66,7 @@ typedef enum eWM_GizmoFlagState { * #wmGizmo.flag * Flags for individual gizmos. */ -typedef enum eWM_GizmoFlagFlag { +typedef enum eWM_GizmoFlag { WM_GIZMO_DRAW_HOVER = (1 << 0), /* draw *only* while hovering */ WM_GIZMO_DRAW_MODAL = (1 << 1), /* draw while dragging */ WM_GIZMO_DRAW_VALUE = (1 << 2), /* draw an indicator for the current value while dragging */ @@ -86,7 +86,7 @@ typedef enum eWM_GizmoFlagFlag { WM_GIZMO_MOVE_CURSOR = (1 << 6), /** Don't write into the depth buffer when selecting. */ WM_GIZMO_SELECT_BACKGROUND = (1 << 7), -} eWM_GizmoFlagFlag; +} eWM_GizmoFlag; /** * #wmGizmoGroupType.flag @@ -190,7 +190,7 @@ struct wmGizmo { struct PointerRNA *ptr; /* flags that influence the behavior or how the gizmos are drawn */ - eWM_GizmoFlagFlag flag; + eWM_GizmoFlag flag; /* state flags (active, highlighted, selected) */ eWM_GizmoFlagState state; |