[Bf-blender-cvs] [50f058ee962] blender-v2.82-release: Fix camera border gizmo size

Campbell Barton noreply at git.blender.org
Mon Mar 9 20:56:36 CET 2020


Commit: 50f058ee962438bd44c6503e55e602d714d116a4
Author: Campbell Barton
Date:   Fri Feb 28 13:25:37 2020 +1100
Branches: blender-v2.82-release
https://developer.blender.org/rB50f058ee962438bd44c6503e55e602d714d116a4

Fix camera border gizmo size

===================================================================

M	source/blender/editors/gizmo_library/gizmo_types/cage2d_gizmo.c

===================================================================

diff --git a/source/blender/editors/gizmo_library/gizmo_types/cage2d_gizmo.c b/source/blender/editors/gizmo_library/gizmo_types/cage2d_gizmo.c
index 2e4284d357a..ff05cdb2613 100644
--- a/source/blender/editors/gizmo_library/gizmo_types/cage2d_gizmo.c
+++ b/source/blender/editors/gizmo_library/gizmo_types/cage2d_gizmo.c
@@ -91,7 +91,7 @@ static bool gizmo_calc_rect_view_scale(const wmGizmo *gz, const float dims[2], f
 static bool gizmo_calc_rect_view_margin(const wmGizmo *gz, const float dims[2], float margin[2])
 {
   float handle_size;
-  handle_size = 0.15f;
+  handle_size = 10.0f;
   handle_size *= gz->scale_final;
   float scale_xy[2];
   if (!gizmo_calc_rect_view_scale(gz, dims, scale_xy)) {



More information about the Bf-blender-cvs mailing list