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:
parent
20f8130d6f
commit
898231fdbc
Notes:
blender-bot
2023-02-14 09:02:41 +01:00
Referenced by issue #83216, Potential candidates for corrective releases
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue