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.
This commit is contained in:
Campbell Barton 2020-03-10 23:07:07 +11:00
parent 85cdf9a1b9
commit 212660f467
Notes: blender-bot 2023-02-14 06:17:14 +01:00
Referenced by issue #74274, Blender 2.82a proposed revisions
Referenced by issue #73369, Corner Pin widget is unreasonably large
1 changed files with 2 additions and 2 deletions

View File

@ -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;