diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2018-07-05 16:13:15 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2018-07-05 17:57:22 +0300 |
commit | 35f8198c9de254ff0ef2595719275413f1b798a5 (patch) | |
tree | 2f7d78f3508b5530f6897da0ea109ba1f545abda /source/blender/makesdna/DNA_view3d_types.h | |
parent | 4dfcc6c25a6e058e107b996d08403b803cc52915 (diff) |
Refactor: SHOW->HIDE
HIDE needs less code also in the future, RNA still uses SHOW.
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_view3d_types.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index f7fd4a52a5f..04edb202ded 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -179,7 +179,7 @@ typedef struct View3DOverlay { /* Other settings */ float wireframe_threshold; - int visible_object_types; + int hidden_object_types; } View3DOverlay; @@ -384,16 +384,15 @@ enum { V3D_OVERLAY_ONION_SKINS = (1 << 7), }; -/* View3DOverlay->visible_object_types */ +/* View3DOverlay->hidden_object_types */ enum { - V3D_OVERLAY_SHOW_EMPTY = (1 << OB_EMPTY), - V3D_OVERLAY_SHOW_LAMP = (1 << OB_LAMP), - V3D_OVERLAY_SHOW_CAMERA = (1 << OB_CAMERA), - V3D_OVERLAY_SHOW_SPEAKER = (1 << OB_SPEAKER), - V3D_OVERLAY_SHOW_LIGHTPROBE = (1 << OB_LIGHTPROBE), - V3D_OVERLAY_SHOW_ARMATURE = (1 << OB_ARMATURE), + V3D_OVERLAY_HIDE_EMPTY = (1 << OB_EMPTY), + V3D_OVERLAY_HIDE_LAMP = (1 << OB_LAMP), + V3D_OVERLAY_HIDE_CAMERA = (1 << OB_CAMERA), + V3D_OVERLAY_HIDE_SPEAKER = (1 << OB_SPEAKER), + V3D_OVERLAY_HIDE_LIGHTPROBE = (1 << OB_LIGHTPROBE), + V3D_OVERLAY_HIDE_ARMATURE = (1 << OB_ARMATURE), }; -#define V3D_OVERLAY_VISIBLE_OBJECT_TYPES_MASK (V3D_OVERLAY_SHOW_EMPTY | V3D_OVERLAY_SHOW_LAMP | V3D_OVERLAY_SHOW_CAMERA | V3D_OVERLAY_SHOW_SPEAKER | V3D_OVERLAY_SHOW_LIGHTPROBE | V3D_OVERLAY_SHOW_ARMATURE) /* View3DOverlay->edit_flag */ enum { |