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

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;