Fix T39756: Extrude, immediate scale
While not exactly a bug, switching to scale isnt generally useful to keep normal constraint.
This commit is contained in:
parent
e6cdce725c
commit
53fd22acb4
Notes:
blender-bot
2023-02-14 10:48:25 +01:00
Referenced by issue #39756, Extrude, immediate scale
|
@ -1067,6 +1067,12 @@ int transformEvent(TransInfo *t, const wmEvent *event)
|
|||
case TFM_MODAL_RESIZE:
|
||||
/* only switch when... */
|
||||
if (ELEM5(t->mode, TFM_ROTATION, TFM_TRANSLATION, TFM_TRACKBALL, TFM_EDGE_SLIDE, TFM_VERT_SLIDE)) {
|
||||
|
||||
/* Scale isn't normally very useful after extrude along normals, see T39756 */
|
||||
if ((t->con.mode & CON_APPLY) && (t->con.orientation == V3D_MANIP_NORMAL)) {
|
||||
stopConstraint(t);
|
||||
}
|
||||
|
||||
resetTransModal(t);
|
||||
resetTransRestrictions(t);
|
||||
restoreTransObjects(t);
|
||||
|
|
Loading…
Reference in New Issue