diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-03 05:01:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-03 05:01:04 +0300 |
commit | 085e5765df5a6e5664db4932ca2ade84be4dfc8e (patch) | |
tree | 6021d0e6b2fd4600eea35262817e9cb975339768 /source/blender/editors/gizmo_library/gizmo_types | |
parent | 4978ef5ed5990df2d8aaf287379c0dec8d9fb251 (diff) |
Cleanup: remove flag from GizmoCommonData
Use struct member instead,
there are already many gizmo flags to keep track of.
Diffstat (limited to 'source/blender/editors/gizmo_library/gizmo_types')
-rw-r--r-- | source/blender/editors/gizmo_library/gizmo_types/arrow3d_gizmo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/gizmo_library/gizmo_types/arrow3d_gizmo.c b/source/blender/editors/gizmo_library/gizmo_types/arrow3d_gizmo.c index 1e39e1cca52..e02d4b8470c 100644 --- a/source/blender/editors/gizmo_library/gizmo_types/arrow3d_gizmo.c +++ b/source/blender/editors/gizmo_library/gizmo_types/arrow3d_gizmo.c @@ -416,7 +416,8 @@ void ED_gizmo_arrow3d_set_ui_range(wmGizmo *gz, const float min, const float max arrow->data.range = max - min; arrow->data.min = min; - arrow->data.flag |= GIZMO_CUSTOM_RANGE_SET; + arrow->data.max = max; + arrow->data.is_custom_range_set = true; } /** |