Fix camera border gizmo size

This commit is contained in:
Campbell Barton 2020-02-28 13:25:37 +11:00
parent e98f94d778
commit 9cac5fa681
Notes: blender-bot 2023-05-29 09:17:12 +02:00
Referenced by commit 360443a483, Fix T74278: Light, Image Object, and Compositor Backdrop Viewer Node
Referenced by issue #74363, Gizmos are too big
Referenced by issue #74278, Light, Image Object, and Compositor Backdrop Viewer Node gizmos are too big
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {