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:
authorCampbell Barton <ideasman42@gmail.com>2017-07-12 17:27:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-07-12 18:59:44 +0300
commitb4988d01cbe9c850a365604967bd3a5e03fc9a72 (patch)
tree147a8bb95d09b9c1fd0efef6c4d09d34df85783e /release
parent95a7a0a06ebc7c88bc56c90bb4edfeef302694b7 (diff)
DwM: Option to use final material over mode shading
Support using full material shading in sculpt & paint modes mode. Access 'Full Shading' from the display panel when in paint modes.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index b3792686fc4..cac7066f762 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -3266,6 +3266,9 @@ class VIEW3D_PT_view3d_display(Panel):
col.prop(view, "show_only_render")
col.prop(view, "show_world")
+ if context.mode in {'PAINT_WEIGHT', 'PAINT_VERTEX', 'PAINT_TEXTURE', 'SCULPT'}:
+ col.prop(view, "show_mode_shade_override")
+
col = layout.column()
display_all = not view.show_only_render
col.active = display_all