Blender Git Loki

Git Commits -> Revision 0d3da13

March 26, 2015, 13:13 (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: 0d3da1343c16e1be6a6e6b78b77cf8b3354afe07
Parent Commit: 26b58bd
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021