Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/armature/pose_lib.c
| Show First 20 Lines • Show All 1,725 Lines • ▼ Show 20 Lines | else if (pld->state == PL_PREVIEW_CONFIRM) { | ||||
| /* Update event for pose and deformation children */ | /* Update event for pose and deformation children */ | ||||
| DEG_id_tag_update(&ob->id, ID_RECALC_GEOMETRY); | DEG_id_tag_update(&ob->id, ID_RECALC_GEOMETRY); | ||||
| /* updates */ | /* updates */ | ||||
| if (IS_AUTOKEY_MODE(scene, NORMAL)) { | if (IS_AUTOKEY_MODE(scene, NORMAL)) { | ||||
| // remake_action_ipos(ob->action); | // remake_action_ipos(ob->action); | ||||
| } | } | ||||
| else { | |||||
| BKE_pose_where_is(CTX_data_depsgraph(C), scene, ob); | |||||
| } | |||||
| } | } | ||||
| /* Request final redraw of the view. */ | /* Request final redraw of the view. */ | ||||
| WM_event_add_notifier(C, NC_OBJECT | ND_POSE, pld->ob); | WM_event_add_notifier(C, NC_OBJECT | ND_POSE, pld->ob); | ||||
| /* free memory used for backups and searching */ | /* free memory used for backups and searching */ | ||||
| poselib_backup_free_data(pld); | poselib_backup_free_data(pld); | ||||
| BLI_freelistN(&pld->searchp); | BLI_freelistN(&pld->searchp); | ||||
| ▲ Show 20 Lines • Show All 177 Lines • Show Last 20 Lines | |||||