Fix T57096: Crash when scaling bones
Reviewed By: brecht Differential Revision: https://developer.blender.org/D3777
This commit is contained in:
parent
21744217ce
commit
e6adf9ac9a
Notes:
blender-bot
2023-02-14 05:28:01 +01:00
Referenced by issue #57096, Crash when scaling bones
|
@ -6690,6 +6690,14 @@ void special_aftertrans_update(bContext *C, TransInfo *t)
|
|||
}
|
||||
}
|
||||
}
|
||||
else if (t->flag & T_POSE && (t->mode == TFM_BONESIZE)) {
|
||||
/* Handle the exception where for TFM_BONESIZE in edit mode we pretend to be
|
||||
* in pose mode (to use bone orientation matrix), in that case we don't do operations like autokeyframing. */
|
||||
FOREACH_TRANS_DATA_CONTAINER (t, tc) {
|
||||
ob = tc->poseobj;
|
||||
DEG_id_tag_update(&ob->id, OB_RECALC_DATA);
|
||||
}
|
||||
}
|
||||
else if (t->flag & T_POSE) {
|
||||
GSet *motionpath_updates = BLI_gset_ptr_new("motionpath updates");
|
||||
|
||||
|
|
Loading…
Reference in New Issue