Fix camera border gizmo size
This commit is contained in:
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
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue