[Bf-blender-cvs] [9cac5fa681c] master: Fix camera border gizmo size

Campbell Barton noreply at git.blender.org
Fri Feb 28 03:28:59 CET 2020


Commit: 9cac5fa681c55edcf6e856e59e07e90e2ae25965
Author: Campbell Barton
Date:   Fri Feb 28 13:25:37 2020 +1100
Branches: master
https://developer.blender.org/rB9cac5fa681c55edcf6e856e59e07e90e2ae25965

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 5ff76d886c2..4490892695f 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