Blender Git Commit Log

Git Commits -> Revision f2db6ce

Revision f2db6ce by Dalai Felinto (master)
September 20, 2017, 12:15 (GMT)
Layer collection enable flag

Right now this is exposed in the outliner, though all this
(visible/selectable/enable) should be moved to a new panel soon.

This removes objects from the depsgraph when the collection is disabled.

It allows you to "hide" lamps but still having them lighting the scene.
Same for light probes and other support objects.

Pending tasks:

* Have depsgraph to include invisible objects in the DEG_OBJECTS_ITER, and
then have Eevee and other engines to make a distinction between an
invisible and a visible object.

(for example, we probably want invisible objects to not show in the
viewport, but cast shadows and show up in light probes).

* Change how we evaluate collection settings so that an invisible
collection can force an object to be invisible.

Reviewers: campbellbarton

Subscribers: sergey

Differential Revision: https://developer.blender.org/D2848

Commit Details:

Full Hash: f2db6cefa0869fe474b4fbbb467d63bff8c0935b
Parent Commit: 42c174d
Lines Changed: +240, -8

8 Modified Paths:

/source/blender/blenkernel/BKE_layer.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/layer.c (+74, -5) (Diff)
/source/blender/editors/space_outliner/outliner_collections.c (+77, -0) (Diff)
/source/blender/editors/space_outliner/outliner_draw.c (+35, -0) (Diff)
/source/blender/editors/space_outliner/outliner_intern.h (+5, -3) (Diff)
/source/blender/editors/space_outliner/outliner_ops.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_layer_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+43, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021