Blender Git Commit Log
Git Commits -> Revision 6f7b613
Revision 6f7b613 by Lukas Toenne (alembic_pointcache) March 17, 2015, 15:17 (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: 6f7b613715bc3f0628995905c7d59c65056eba0e
Parent Commit: 67b7263
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)