Blender Git Loki

Git Commits -> Revision 6432c8c

Revision 6432c8c by Dalai Felinto (master)
February 7, 2017, 15:54 (GMT)
Layers: get/update CollectionEngineSettings (depsgraph placeholder)

Every time:
* A collection settings is set
* A collection visibility changes
* An object is added/removed/ ...

We need to recalculate the "accumulated" CollectionEngineSettings that
the render engine should use for an object.

This is to be handled by the depsgraph. Meanwhile this code should allow
us to start using those settings in the render engines.

Note: We are storing this in the objects, which means we can only have
one active calculated option every time.

This is intended to get the conversation with the Depsgraph department
going.

Commit Details:

Full Hash: 6432c8cc002cb7391e2ac5eae3c300fed28fc422
Parent Commit: 6bf9c8a
Lines Changed: +205, -33

9 Modified Paths:

/source/blender/blenkernel/BKE_layer.h (+8, -5) (Diff)
/source/blender/blenkernel/intern/collection.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/layer.c (+176, -20) (Diff)
/source/blender/blenkernel/intern/object.c (+5, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+0, -2) (Diff)
/source/blender/draw/engines/clay/clay.c (+9, -3) (Diff)
/source/blender/makesdna/DNA_layer_types.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_object_types.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+3, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021