Fix T76933: 'Align to Transform Orientation' crashes for Custom orientations
This commit is contained in:
@@ -1679,7 +1679,7 @@ void initTransInfo(bContext *C, TransInfo *t, wmOperator *op, const wmEvent *eve
|
||||
}
|
||||
else {
|
||||
custom_orientation = BKE_scene_transform_orientation_find(
|
||||
t->scene, orient_type_default - V3D_ORIENT_CUSTOM);
|
||||
t->scene, orient_type_set - V3D_ORIENT_CUSTOM);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user