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:
authorPablo Dobarro <pablodp606>2020-09-18 20:20:22 +0300
committerPablo Dobarro <pablodp606@gmail.com>2020-09-18 20:24:58 +0300
commitea6cd1c8f05b27a81e835251e779f047a3488203 (patch)
treef474690da2ddba60ca0feb2664141f65cde38a5d /source/blender/makesdna/DNA_view3d_defaults.h
parent5855f317a7070d69dbb94761c5a2c2f53b058a6e (diff)
Overlay: Fade Inactive Geometry
This implements a new overlay that blends the bakground color over the objects that are not in the same mode as the active object, making them fade with the background. This is especially needed for sculpt mode as there is no other overlay or indication in the viewport to display which object is active. This is intended to be used with D7510 in order to have a faster workflow when sculpting models with multiple objects. Reviewed By: fclem Differential Revision: https://developer.blender.org/D8679
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_defaults.h')
-rw-r--r--source/blender/makesdna/DNA_view3d_defaults.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_view3d_defaults.h b/source/blender/makesdna/DNA_view3d_defaults.h
index 62e3d14bd0c..68f23b33d07 100644
--- a/source/blender/makesdna/DNA_view3d_defaults.h
+++ b/source/blender/makesdna/DNA_view3d_defaults.h
@@ -52,6 +52,7 @@
{ \
.wireframe_threshold = 1.0f, \
.xray_alpha_bone = 0.5f, \
+ .fade_alpha = 0.40f, \
.texture_paint_mode_opacity = 1.0f, \
.weight_paint_mode_opacity = 1.0f, \
.vertex_paint_mode_opacity = 1.0f, \