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.
This commit is contained in:
2018-06-01 17:06:25 +02:00
parent 56dc2bf0c5
commit e4a727626e
9 changed files with 46 additions and 13 deletions

View File

@@ -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