From 98e4fbc7cc9e9bd6492e7bbb82e48dcf7b4d0bac Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 6 Jan 2020 22:42:21 +1100 Subject: Gizmo: use compatible scale values between 2D/3D gizmos Make the UV editor gizmos the same size as the 3D view. --- source/blender/windowmanager/gizmo/intern/wm_gizmo.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source/blender/windowmanager/gizmo') diff --git a/source/blender/windowmanager/gizmo/intern/wm_gizmo.c b/source/blender/windowmanager/gizmo/intern/wm_gizmo.c index a8ca65a8a83..e2fb4dc3e0e 100644 --- a/source/blender/windowmanager/gizmo/intern/wm_gizmo.c +++ b/source/blender/windowmanager/gizmo/intern/wm_gizmo.c @@ -503,9 +503,6 @@ void wm_gizmo_calculate_scale(wmGizmo *gz, const bContext *C) /* Exclude matrix_offset from scale. */ scale *= ED_view3d_pixel_size_no_ui_scale(rv3d, matrix_world[3]); } - else { - scale *= 0.02f; - } } gz->scale_final = gz->scale_basis * scale; -- cgit v1.2.3