Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/anim_sys.c
| Show First 20 Lines • Show All 2,541 Lines • ▼ Show 20 Lines | void BKE_animsys_evaluate_animdata( | ||||
| /* always execute 'overrides' | /* always execute 'overrides' | ||||
| * - Overrides allow editing, by overwriting the value(s) set from animation-data, with the | * - Overrides allow editing, by overwriting the value(s) set from animation-data, with the | ||||
| * value last set by the user (and not keyframed yet). | * value last set by the user (and not keyframed yet). | ||||
| * - Overrides are cleared upon frame change and/or keyframing | * - Overrides are cleared upon frame change and/or keyframing | ||||
| * - It is best that we execute this every time, so that no errors are likely to occur. | * - It is best that we execute this every time, so that no errors are likely to occur. | ||||
| */ | */ | ||||
| animsys_evaluate_overrides(&id_ptr, adt); | animsys_evaluate_overrides(&id_ptr, adt); | ||||
| /* execute and clear all cached property update functions */ | |||||
| if (scene) { | |||||
| Main *bmain = G.main; // xxx - to get passed in! | |||||
| RNA_property_update_cache_flush(bmain, scene); | |||||
| RNA_property_update_cache_free(); | |||||
| } | |||||
| } | } | ||||
| /* Evaluation of all ID-blocks with Animation Data blocks - Animation Data Only | /* Evaluation of all ID-blocks with Animation Data blocks - Animation Data Only | ||||
| * | * | ||||
| * This will evaluate only the animation info available in the animation data-blocks | * This will evaluate only the animation info available in the animation data-blocks | ||||
| * encountered. In order to enforce the system by which some settings controlled by a | * encountered. In order to enforce the system by which some settings controlled by a | ||||
| * 'local' (i.e. belonging in the nearest ID-block that setting is related to, not a | * 'local' (i.e. belonging in the nearest ID-block that setting is related to, not a | ||||
| * standard 'root') block are overridden by a larger 'user' | * standard 'root') block are overridden by a larger 'user' | ||||
| ▲ Show 20 Lines • Show All 256 Lines • Show Last 20 Lines | |||||