Blender Git Loki
Git Commits -> Revision c8f3377
Revision c8f3377 by Sergey Sharybin (master) April 30, 2019, 09:32 (GMT) |
Depsgraph: Add generic animated properties cache Allows to speed up lookups like "is property FOO of data BAR animated". Can be used to optimize object's visibility check, but also allows to check animation on bones without too much of time penalty. The cache is shared between both nodes and relations builder. Currently is not used, just a boilerplate for an upcoming changes in an actual logic. |
Commit Details:
Full Hash: c8f3377d03531ec52fc8dd6fa5802679166997b8
Parent Commit: 587ee46
Lines Changed: +324, -16
2 Added Paths:
/source/blender/depsgraph/intern/builder/deg_builder_cache.cc (+186, -0) (View)
/source/blender/depsgraph/intern/builder/deg_builder_cache.h (+103, -0) (View)
/source/blender/depsgraph/intern/builder/deg_builder_cache.h (+103, -0) (View)
10 Modified Paths:
/source/blender/depsgraph/CMakeLists.txt (+2, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder.cc (+5, -4) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder.h (+4, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+4, -2) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.h (+2, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+4, -2) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.h (+2, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_rna.cc (+5, -2) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_rna.h (+3, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_build.cc (+4, -2) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder.cc (+5, -4) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder.h (+4, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+4, -2) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.h (+2, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+4, -2) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.h (+2, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_rna.cc (+5, -2) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_rna.h (+3, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_build.cc (+4, -2) (Diff)