Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_convert_armature.c
| Show First 20 Lines • Show All 1,465 Lines • ▼ Show 20 Lines | FOREACH_TRANS_DATA_CONTAINER (t, tc) { | ||||
| /* TODO: autokeyframe calls need some setting to specify to add samples | /* TODO: autokeyframe calls need some setting to specify to add samples | ||||
| * (FPoints) instead of keyframes? */ | * (FPoints) instead of keyframes? */ | ||||
| if ((t->animtimer) && (t->context) && IS_AUTOKEY_ON(t->scene)) { | if ((t->animtimer) && (t->context) && IS_AUTOKEY_ON(t->scene)) { | ||||
| /* XXX: this currently doesn't work, since flags aren't set yet! */ | /* XXX: this currently doesn't work, since flags aren't set yet! */ | ||||
| int targetless_ik = (t->flag & T_AUTOIK); | int targetless_ik = (t->flag & T_AUTOIK); | ||||
| animrecord_check_state(t, ob); | animrecord_check_state(t, &ob->id); | ||||
| autokeyframe_pose(t->context, t->scene, ob, t->mode, targetless_ik); | autokeyframe_pose(t->context, t->scene, ob, t->mode, targetless_ik); | ||||
| } | } | ||||
| if (motionpath_need_update_pose(t->scene, ob)) { | if (motionpath_need_update_pose(t->scene, ob)) { | ||||
| BLI_gset_insert(motionpath_updates, ob); | BLI_gset_insert(motionpath_updates, ob); | ||||
| } | } | ||||
| DEG_id_tag_update(&ob->id, ID_RECALC_GEOMETRY); | DEG_id_tag_update(&ob->id, ID_RECALC_GEOMETRY); | ||||
| ▲ Show 20 Lines • Show All 288 Lines • Show Last 20 Lines | |||||