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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user