Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurice Raybaud <mauriceraybaud@hotmail.fr>2010-12-16 18:18:03 +0300
committerMaurice Raybaud <mauriceraybaud@hotmail.fr>2010-12-16 18:18:03 +0300
commit4e20bec0ecbba20604c99743087d7d883426b31a (patch)
tree30db6bcdb9ef2bb8c53e1266a641a03e4171c748 /render_povray/ui.py
parent93517f2fd1b2e04e30edec685c162ffa0bf87c8d (diff)
Moved some properties assignment out of the UI module and made alpha slider set transparency
Diffstat (limited to 'render_povray/ui.py')
-rw-r--r--render_povray/ui.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/render_povray/ui.py b/render_povray/ui.py
index a81e40ab..dbd57bc9 100644
--- a/render_povray/ui.py
+++ b/render_povray/ui.py
@@ -209,17 +209,17 @@ class MATERIAL_PT_povray_caustics(MaterialButtonsPanel, bpy.types.Panel):
col = split.column()
col.prop(mat, "pov_refraction_type")
- if mat.pov_refraction_type=="0":
- mat.pov_fake_caustics = False
- mat.pov_photons_refraction = False
- mat.pov_photons_reflection = True
- elif mat.pov_refraction_type=="1":
- mat.pov_fake_caustics = True
- mat.pov_photons_refraction = False
+## if mat.pov_refraction_type=="0":
+## mat.pov_fake_caustics = False
+## mat.pov_photons_refraction = False
+## mat.pov_photons_reflection = True
+ if mat.pov_refraction_type=="1":
+## mat.pov_fake_caustics = True
+## mat.pov_photons_refraction = False
col.prop(mat, "pov_fake_caustics_power", slider=True)
elif mat.pov_refraction_type=="2":
- mat.pov_fake_caustics = False
- mat.pov_photons_refraction = True
+## mat.pov_fake_caustics = False
+## mat.pov_photons_refraction = True
col.prop(mat, "pov_photons_dispersion", slider=True)
col.prop(mat, "pov_photons_reflection")