Fix T50022: "Mirror" in Dopesheet Crashes Blender
Just fixing crash itself. Actually operator shouldn't run in most editors (not in dopesheet either I guess), but don't want to spend time on that right now.
This commit is contained in:
parent
69470e36d6
commit
0cd1b5ef85
Notes:
blender-bot
2023-02-14 08:40:26 +01:00
Referenced by issue #50022, "Mirror" in Dopesheet Crashes Blender
|
@ -3392,7 +3392,9 @@ static void ElementResize(TransInfo *t, TransData *td, float mat[3][3])
|
|||
}
|
||||
|
||||
protectedTransBits(td->protectflag, vec);
|
||||
add_v3_v3v3(td->loc, td->iloc, vec);
|
||||
if (td->loc) {
|
||||
add_v3_v3v3(td->loc, td->iloc, vec);
|
||||
}
|
||||
|
||||
constraintTransLim(t, td);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue