Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2018-11-15 23:25:45 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-11-16 02:01:01 +0300
commit98765e370093e088022145e841421f7a7e1da368 (patch)
tree721ec20a7c0543dbdcb29f3494806ad9e50b1a21 /source/blender/makesdna
parentbf7af31e9f7c0177c1d390ab77804f8d556e0e56 (diff)
RNA: LayerCollection.has_hidden_objects
With this we have a way to tell that a collection has visible objects but not all of its objects are visible.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_layer_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_layer_types.h b/source/blender/makesdna/DNA_layer_types.h
index 3dcd31fbd7b..e363c0c54b2 100644
--- a/source/blender/makesdna/DNA_layer_types.h
+++ b/source/blender/makesdna/DNA_layer_types.h
@@ -123,7 +123,8 @@ enum {
enum {
LAYER_COLLECTION_HAS_OBJECTS = (1 << 0),
LAYER_COLLECTION_HAS_VISIBLE_OBJECTS = (1 << 1),
- LAYER_COLLECTION_HAS_ENABLED_OBJECTS = (1 << 2),
+ LAYER_COLLECTION_HAS_HIDDEN_OBJECTS = (1 << 2),
+ LAYER_COLLECTION_HAS_ENABLED_OBJECTS = (1 << 3),
};
/* ViewLayer->flag */