Put ray mirror Fade To color next to Max Distance. Grayed out Fade To if
authorDaniel Salazar <zanqdo@gmail.com>
Sun, 2 May 2010 04:40:44 +0000 (04:40 +0000)
committerDaniel Salazar <zanqdo@gmail.com>
Sun, 2 May 2010 04:40:44 +0000 (04:40 +0000)
Distance is 0

release/scripts/ui/properties_material.py

index f80494a9d40b9e5af45136ed1702ca9e462dd40c..a7d9af9999deed97479789d32b4c5815cbd90403 100644 (file)
@@ -570,10 +570,11 @@ class MATERIAL_PT_mirror(MaterialButtonsPanel):
 
         col = split.column()
         col.separator()
-        col.prop(raym, "distance", text="Max Dist")
         col.prop(raym, "depth")
+        col.prop(raym, "distance", text="Max Dist")
         col.separator()
         sub = col.split(percentage=0.4)
+        sub.active = raym.distance > 0.0
         sub.label(text="Fade To:")
         sub.prop(raym, "fade_to", text="")