Blender Git Commit Log
Git Commits -> Revision 0142bdb
March 23, 2015, 11:46 (GMT) |
Use a new flag in duplicator objects to enable cache reading and avoid unnecessary dependencies. This flag will replace the current "read" mode on cache libraries. Beside enabling cache reading, it also disables the current "fake" dependencies between duplicators and their group objects. This is exploiting the layer visibility mechanism in depsgraph to ensure that animated group objects get evaluated when used by a visible duplicator, even when they are not themselves visible. These dependencies cause group object updates even if the duplicator is using cached results. To avoid this unnecessary overhead and make caching worthwhile we rebuild depsgraph without these relations when using the cache instead. |
Commit Details:
Full Hash: 0142bdb1ad13e7f30fd74f70017a1215f9610a0d
Parent Commit: c2012a6
Lines Changed: +17, -3
5 Modified Paths:
/release/scripts/startup/bl_ui/properties_object.py (+1, -0) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+6, -1) (Diff)
/source/blender/blenkernel/intern/object_dupli.c (+4, -2) (Diff)
/source/blender/makesdna/DNA_object_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_object.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+6, -1) (Diff)
/source/blender/blenkernel/intern/object_dupli.c (+4, -2) (Diff)
/source/blender/makesdna/DNA_object_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_object.c (+5, -0) (Diff)