Ok, first commit! Hope this goes ok.
authorWilliam Reynish <william@reynish.com>
Mon, 20 Jul 2009 17:59:45 +0000 (17:59 +0000)
committerWilliam Reynish <william@reynish.com>
Mon, 20 Jul 2009 17:59:45 +0000 (17:59 +0000)
Added the Turbidity parameter to the Sky panel in lamp buttons, since it affects sky as well as atmosphere.

release/ui/buttons_data_lamp.py

index 0232c18a2582826df2801dd4e3ab300bd439db0e..b70734d2fa5b570c78fa40c3a6db3ac0ff67887a 100644 (file)
@@ -113,6 +113,8 @@ class DATA_PT_sky(DataButtonsPanel):
                col.itemR(lamp, "sky_blend")
                col.itemR(lamp, "sky_color_space", text="Color Space")
                col.itemR(lamp, "sky_exposure", text="Exposure")
+               col.itemS()
+               col.itemR(lamp, "atmosphere_turbidity", text="Turbidity")
                
                col = split.column()
                col.itemL(text="Horizon:")