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:
2020-11-18 11:51:14 -03:00
parent 20f8130d6f
commit 898231fdbc

View File

@@ -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;
}
}