diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-03-10 15:07:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-03-10 15:30:59 +0300 |
commit | 212660f467451b0092fcebcb44591c92c09acbc9 (patch) | |
tree | 14bf91ba26c49829f8fb5a0aec43031e25eb5422 /source | |
parent | 85cdf9a1b9e8e47997d92e45657975a0a053de68 (diff) |
Fix T73369: corner pin & sun-beam nodes gizmos are too big
Note that dragging isn't working well,
however this was an issue in previous releases.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_node/node_gizmo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_node/node_gizmo.c b/source/blender/editors/space_node/node_gizmo.c index 3048c14dddb..e20cadf21a3 100644 --- a/source/blender/editors/space_node/node_gizmo.c +++ b/source/blender/editors/space_node/node_gizmo.c @@ -459,7 +459,7 @@ static void WIDGETGROUP_node_sbeam_setup(const bContext *UNUSED(C), wmGizmoGroup RNA_enum_set(gz->ptr, "draw_style", ED_GIZMO_MOVE_STYLE_CROSS_2D); - gz->scale_basis = 0.05f; + gz->scale_basis = 0.05f / 75.0f; gzgroup->customdata = sbeam_group; } @@ -566,7 +566,7 @@ static void WIDGETGROUP_node_corner_pin_setup(const bContext *UNUSED(C), wmGizmo RNA_enum_set(gz->ptr, "draw_style", ED_GIZMO_MOVE_STYLE_CROSS_2D); - gz->scale_basis = 0.01f; + gz->scale_basis = 0.01f / 75.0; } gzgroup->customdata = cpin_group; |