diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-01-06 14:42:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-01-06 15:08:27 +0300 |
commit | 98e4fbc7cc9e9bd6492e7bbb82e48dcf7b4d0bac (patch) | |
tree | f303835de167e61257725f9601242f520351b3dc /source/blender/windowmanager/gizmo/intern/wm_gizmo.c | |
parent | b7acb8690a4d189868c6e0b57057b6fcd8a5a96d (diff) |
Gizmo: use compatible scale values between 2D/3D gizmos
Make the UV editor gizmos the same size as the 3D view.
Diffstat (limited to 'source/blender/windowmanager/gizmo/intern/wm_gizmo.c')
-rw-r--r-- | source/blender/windowmanager/gizmo/intern/wm_gizmo.c | 3 |
1 files changed, 0 insertions, 3 deletions
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; |