Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_conversions.c
| Context not available. | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| else if (t->flag & T_POSE && (t->mode == TFM_BONESIZE)) { | |||||
| /* Handle the exception where for TFM_BONESIZE in edit mode we pretend to be | |||||
brecht: Explain why this code is needed in the comment rather than referring to the bug. Something like… | |||||
| * in pose mode (to use bone orientation matrix), in that case we don't do operations like autokeyframing. */ | |||||
Not Done Inline ActionsCalling the DEG_id_tag_update() here seems good. brecht: Calling the `DEG_id_tag_update()` here seems good. | |||||
| FOREACH_TRANS_DATA_CONTAINER (t, tc) { | |||||
| ob = tc->poseobj; | |||||
| DEG_id_tag_update(&ob->id, OB_RECALC_DATA); | |||||
| } | |||||
| } | |||||
| else if (t->flag & T_POSE) { | else if (t->flag & T_POSE) { | ||||
| GSet *motionpath_updates = BLI_gset_ptr_new("motionpath updates"); | GSet *motionpath_updates = BLI_gset_ptr_new("motionpath updates"); | ||||
| Context not available. | |||||
Explain why this code is needed in the comment rather than referring to the bug. Something like: