diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-24 10:06:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-24 10:06:55 +0300 |
commit | 6db79dafb3edac432a2ef98b5fb7fe94b6f746fd (patch) | |
tree | 5e7dfc495b1c406ebd61aca4c81f1786cb41e3d4 /source/blender/editors/mesh/editmesh_extrude_spin.c | |
parent | 6457aaa4206b254a3c8e7710af44fa86720e956d (diff) |
Gizmo: show partial arc & icons for spin tool
Diffstat (limited to 'source/blender/editors/mesh/editmesh_extrude_spin.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_extrude_spin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_extrude_spin.c b/source/blender/editors/mesh/editmesh_extrude_spin.c index 701c8cee98b..3f64c3c82bf 100644 --- a/source/blender/editors/mesh/editmesh_extrude_spin.c +++ b/source/blender/editors/mesh/editmesh_extrude_spin.c @@ -190,6 +190,7 @@ void MESH_OT_spin(wmOperatorType *ot) WM_gizmogrouptype_append(MESH_GGT_spin); #ifdef USE_GIZMO WM_gizmogrouptype_append(MESH_GGT_spin_redo); - RNA_def_enum_flag(ot->srna, "gizmo_axis", rna_enum_axis_flag_xyz_items, (1 << 2), "Axis", ""); + prop = RNA_def_enum_flag(ot->srna, "gizmo_axis", rna_enum_axis_flag_xyz_items, (1 << 2), "Axis", ""); + RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE); #endif } |