Blender Git Loki
Git Commits -> Revision 4a6e331
March 23, 2015, 11:46 (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: 4a6e33191586e1508bbfb04dd4326011c7ba31bf
Parent Commit: 0dd0166
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)