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:
Diffstat (limited to 'source/blender/makesdna/DNA_layer_types.h')
-rw-r--r--source/blender/makesdna/DNA_layer_types.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/source/blender/makesdna/DNA_layer_types.h b/source/blender/makesdna/DNA_layer_types.h
index f7536ec0df5..6b4dcc39005 100644
--- a/source/blender/makesdna/DNA_layer_types.h
+++ b/source/blender/makesdna/DNA_layer_types.h
@@ -91,15 +91,15 @@ typedef struct ViewLayer {
/* Base->flag */
enum {
- BASE_SELECTED = (1 << 0),
- BASE_VISIBLED = (1 << 1),
- BASE_SELECTABLED = (1 << 2),
- BASE_FROMDUPLI = (1 << 3),
+ BASE_SELECTED = (1 << 0), /* Object is selected. */
+ BASE_VISIBLED = (1 << 1), /* Object is visible. */
+ BASE_SELECTABLED = (1 << 2), /* Object can be selected. */
+ BASE_FROMDUPLI = (1 << 3), /* Object comes from duplicator. */
/* BASE_DEPRECATED = (1 << 4), */
BASE_FROM_SET = (1 << 5), /* To be set only by the depsgraph */
- BASE_VISIBLE_VIEWPORT = (1 << 6),
- BASE_VISIBLE_RENDER = (1 << 7),
- BASE_HIDE = (1 << 8),
+ BASE_VISIBLE_VIEWPORT = (1 << 6), /* Object is visible in viewport. */
+ BASE_VISIBLE_RENDER = (1 << 7), /* Object is visible in final render */
+ BASE_HIDE = (1 << 8), /* Object is hidden for editing. */
};
/* LayerCollection->flag */
@@ -113,8 +113,9 @@ enum {
/* Layer Collection->runtime_flag */
enum {
- LAYER_COLLECTION_HAS_VISIBLE_OBJECTS = (1 << 0),
- LAYER_COLLECTION_HAS_SELECTED_OBJECTS = (1 << 1),
+ LAYER_COLLECTION_HAS_OBJECTS = (1 << 0),
+ LAYER_COLLECTION_HAS_VISIBLE_OBJECTS = (1 << 1),
+ LAYER_COLLECTION_HAS_ENABLED_OBJECTS = (1 << 2),
};
/* ViewLayer->flag */