Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/animation/anim_deps.c
| Show First 20 Lines • Show All 429 Lines • ▼ Show 20 Lines | else if (ale->datatype == ALE_FCURVE) { | ||||
| } | } | ||||
| } | } | ||||
| else if (ale->datatype == ALE_NLASTRIP) { | else if (ale->datatype == ALE_NLASTRIP) { | ||||
| if (ale->update & ANIM_UPDATE_DEPS) { | if (ale->update & ANIM_UPDATE_DEPS) { | ||||
| ale->update &= ~ANIM_UPDATE_DEPS; | ale->update &= ~ANIM_UPDATE_DEPS; | ||||
| ANIM_list_elem_update(ac->bmain, ac->scene, ale); | ANIM_list_elem_update(ac->bmain, ac->scene, ale); | ||||
| } | } | ||||
| } | } | ||||
| else if (ale->update) { | |||||
| #if 0 | |||||
| if (G.debug & G_DEBUG) { | |||||
| printf("%s: Unhandled animchannel updates (%d) for type=%d (%p)\n", | |||||
| __func__, ale->update, ale->type, ale->data); | |||||
| } | |||||
| #endif | |||||
| /* Prevent crashes in cases where it can't be handled */ | |||||
| ale->update = 0; | |||||
| } | |||||
| BLI_assert(ale->update == 0); | BLI_assert(ale->update == 0); | ||||
| } | } | ||||
| } | } | ||||
| void ANIM_animdata_freelist(ListBase *anim_data) | void ANIM_animdata_freelist(ListBase *anim_data) | ||||
| { | { | ||||
| #ifndef NDEBUG | #ifndef NDEBUG | ||||
| Show All 11 Lines | |||||