Fix T56152: Rotate crash w/ individual origins
This commit is contained in:
parent
1d596e29df
commit
914e4d1212
Notes:
blender-bot
2023-04-19 22:54:54 +02:00
Referenced by issue #56152, Crash on face/edge rotate around normal axis if individual origins set
|
@ -560,7 +560,9 @@ static void applyObjectConstraintRot(
|
|||
|
||||
/* on setup call, use first object */
|
||||
if (td == NULL) {
|
||||
td = TRANS_DATA_CONTAINER_FIRST_OK(t)->data;
|
||||
BLI_assert(tc == NULL);
|
||||
tc = TRANS_DATA_CONTAINER_FIRST_OK(t);
|
||||
td = tc->data;
|
||||
}
|
||||
|
||||
if (t->flag & T_EDIT) {
|
||||
|
|
Loading…
Reference in New Issue