Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/anim.c
| Show First 20 Lines • Show All 370 Lines • ▼ Show 20 Lines | for (mpt = targets->first; mpt; mpt = mpt->next) { | ||||
| } | } | ||||
| float mframe = (float)(cframe); | float mframe = (float)(cframe); | ||||
| /* Tag if it's a keyframe */ | /* Tag if it's a keyframe */ | ||||
| if (BLI_dlrbTree_search_exact(&mpt->keys, compare_ak_cfraPtr, &mframe)) { | if (BLI_dlrbTree_search_exact(&mpt->keys, compare_ak_cfraPtr, &mframe)) { | ||||
| mpv->flag |= MOTIONPATH_VERT_KEY; | mpv->flag |= MOTIONPATH_VERT_KEY; | ||||
| } | } | ||||
| else { | |||||
| mpv->flag &= ~MOTIONPATH_VERT_KEY; | |||||
| } | |||||
| /* Incremental update on evaluated object if possible, for fast updating | /* Incremental update on evaluated object if possible, for fast updating | ||||
| * while dragging in transform. */ | * while dragging in transform. */ | ||||
| bMotionPath *mpath_eval = NULL; | bMotionPath *mpath_eval = NULL; | ||||
| if (mpt->pchan) { | if (mpt->pchan) { | ||||
| mpath_eval = (pchan_eval) ? pchan_eval->mpath : NULL; | mpath_eval = (pchan_eval) ? pchan_eval->mpath : NULL; | ||||
| } | } | ||||
| else { | else { | ||||
| ▲ Show 20 Lines • Show All 394 Lines • Show Last 20 Lines | |||||