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:
authorAntonioya <blendergit@gmail.com>2018-10-30 19:53:30 +0300
committerAntonioya <blendergit@gmail.com>2018-10-30 19:54:01 +0300
commit6f311ef57ec8760d020b6745be87a6770e5c58ce (patch)
treeb012094a8fb76b858e796a9189aee4679f342771 /source/blender/makesdna/DNA_view3d_types.h
parente7811ce0c41652525545989bb1dfce1c8ab2b46b (diff)
GP: New Fade no active layer overlay option
This option allows to fade all layers except active one. This can help in very crowded scenes with a lot of layers, to verify you are working in the right one.
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h
index d9628dabd74..d5bacd1f4a4 100644
--- a/source/blender/makesdna/DNA_view3d_types.h
+++ b/source/blender/makesdna/DNA_view3d_types.h
@@ -196,7 +196,7 @@ typedef struct View3DOverlay {
/* grease pencil settings */
float gpencil_paper_opacity;
float gpencil_grid_opacity;
- char _pad1[4];
+ float gpencil_fade_layer;
} View3DOverlay;
@@ -370,6 +370,7 @@ typedef struct View3D {
#define V3D_GP_SHOW_EDIT_LINES (1 << 2)
#define V3D_GP_SHOW_MULTIEDIT_LINES (1 << 3)
#define V3D_GP_SHOW_ONION_SKIN (1 << 4) /* main switch at view level */
+#define V3D_GP_FADE_NOACTIVE_LAYERS (1 << 5) /* fade layers not active */
/* View3DShading->light */
enum {