Fix transform redo panel showing only the first custom orientation
The error was introduced in rBf470a02afaea, but the problem is in `ED_transform_calc_orientation_from_type_ex`
This commit is contained in:
@@ -572,7 +572,7 @@ short ED_transform_calc_orientation_from_type_ex(const bContext *C,
|
||||
TransformOrientation *custom_orientation = BKE_scene_transform_orientation_find(
|
||||
scene, orientation_index_custom);
|
||||
applyTransformOrientation(custom_orientation, r_mat, NULL);
|
||||
break;
|
||||
return V3D_ORIENT_CUSTOM + orientation_index_custom;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user