Fix crash clicking on trackball widget
Missing check in newly added gizmo orientations.
This commit is contained in:
@@ -1804,7 +1804,7 @@ static void WIDGETGROUP_gizmo_invoke_prepare(
|
||||
GizmoGroup *ggd = gzgroup->customdata;
|
||||
|
||||
/* Support gizmo spesific orientation. */
|
||||
{
|
||||
if (gz != ggd->gizmos[MAN_AXIS_ROT_T]) {
|
||||
Scene *scene = CTX_data_scene(C);
|
||||
wmGizmoOpElem *gzop = WM_gizmo_operator_get(gz, 0);
|
||||
PointerRNA *ptr = &gzop->ptr;
|
||||
|
||||
Reference in New Issue
Block a user