From 88cd23914f02c7c9e9e4603ccf20e50cd2b49e5f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 19 Sep 2018 13:35:15 +1000 Subject: Gizmo: dial3d option to show the final angle Was showing modal-delta-angle, which isn't useful for the spin tool. --- source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/mesh') diff --git a/source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c b/source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c index bba5be4ba7d..08f1ca4e4cf 100644 --- a/source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c +++ b/source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c @@ -540,6 +540,7 @@ static void gizmo_mesh_spin_redo_setup(const bContext *C, wmGizmoGroup *gzgroup) RNA_enum_set(ggd->translate_c->ptr, "draw_style", ED_GIZMO_MOVE_STYLE_RING_2D); RNA_boolean_set(ggd->angle_z->ptr, "wrap_angle", false); + RNA_enum_set(ggd->angle_z->ptr, "draw_options", ED_GIZMO_DIAL_DRAW_FLAG_ANGLE_VALUE); WM_gizmo_set_flag(ggd->translate_c, WM_GIZMO_DRAW_VALUE, true); WM_gizmo_set_flag(ggd->rotate_c, WM_GIZMO_DRAW_VALUE, true); -- cgit v1.2.3