diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2018-06-01 18:06:25 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2018-06-01 18:15:35 +0300 |
commit | e4a727626e34eef20e2b41cc3e26b41db4f360a0 (patch) | |
tree | 25af9312b02b0defae25f2c08c2a9863d2e795e1 /release/scripts/startup | |
parent | 56dc2bf0c528524b9a31c9cd27f9b1a261827bf0 (diff) |
X-Ray: Added a slider for the alpha
- will not render when set to 0.0 for speed reasons. so when user sets
transparency to hide everything the bigger passes will be skipped.
Diffstat (limited to 'release/scripts/startup')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 3 |
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 6010b1e209f..4f3396c9ed8 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -3538,6 +3538,9 @@ class VIEW3D_PT_shading(Panel): row = col.row() row.prop(shading, "show_xray") + sub = row.row() + sub.active = shading.show_xray + sub.prop(shading, "xray_alpha", text="") row = col.row() row.active = not shading.show_xray |