Blender Git Loki
Git Commits -> Revision 0a7a4d5
Revision 0a7a4d5 by Lukas Toenne (alembic_pointcache) March 19, 2015, 18:19 (GMT) |
Allow cache libraries to store both render and realtime (viewport) data. This is the default now. It should make workflow a lot more foolproof and convenient, since having only one of these modes active at a time very easily leads to broken renders and confusing situations. The problem is mostly due to the complicated way the depsgraph layer feature is used to handle duplicator visibility. The duplicator is declared as a child of its group's objects (even though no real dependency exists!), so that a visible duplicator triggers updates of invisible group objects, making instances of hidden groups possible. However, dupli caches have to disable this dependency in order to avoid unnecessary costly updates in hidden layers which are overridden by cached data anyway. At the point where these dependencies are created the evaluation context is unknown though, which means we cannot distinguish between render and realtime evaluation for the purpose of cache reading ... |
Commit Details:
Full Hash: 0a7a4d504b6790d8768d8e86bf0e8765c39aec71
Parent Commit: 08017ee
Lines Changed: +41, -24
6 Modified Paths:
/release/scripts/startup/bl_ui/properties_object.py (+2, -1) (Diff)
/source/blender/blenkernel/intern/cache_library.c (+4, -2) (Diff)
/source/blender/blenkernel/intern/object_dupli.c (+1, -1) (Diff)
/source/blender/editors/io/io_cache_library.c (+30, -16) (Diff)
/source/blender/makesdna/DNA_cache_library_types.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_cache_library.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/cache_library.c (+4, -2) (Diff)
/source/blender/blenkernel/intern/object_dupli.c (+1, -1) (Diff)
/source/blender/editors/io/io_cache_library.c (+30, -16) (Diff)
/source/blender/makesdna/DNA_cache_library_types.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_cache_library.c (+2, -2) (Diff)