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>2011-01-29 13:18:25 +0300
committerMaurice Raybaud <mauriceraybaud@hotmail.fr>2011-01-29 13:18:25 +0300
commit94ea5cfe5ee6801e1ab5b7ddc4ee2f514ba9b999 (patch)
tree920984d0afe0dde6270d427cee5db75fdc09b7e3 /render_povray
parent94ae959098273e1d5592ed496655ddeecbbe2399 (diff)
Fixed color pickers
Diffstat (limited to 'render_povray')
-rw-r--r--render_povray/__init__.py21
1 files changed, 15 insertions, 6 deletions
diff --git a/render_povray/__init__.py b/render_povray/__init__.py
index 9b633517..1eae506f 100644
--- a/render_povray/__init__.py
+++ b/render_povray/__init__.py
@@ -95,9 +95,14 @@ def register():
Scene.pov_media_color = FloatVectorProperty(
name="Media Color",
description="The atmospheric media color.",
- #min=(0.0, 0.0, 0.0), soft_max=(1.0, 1.0, 1.0),#change this to what's needed for colors
- subtype='COLOR')
- #default=(0.01, 0.01, 0.01)#change this to what's needed for colors
+ subtype='COLOR',
+ precision = 4,
+ step = 0.01,
+ min=0,
+ soft_max = 1,
+ default=(0.001, 0.001, 0.001),
+ options={'ANIMATABLE'})
+
Scene.pov_baking_enable = BoolProperty(
name="Enable Baking",
@@ -279,9 +284,13 @@ def register():
Mat.pov_interior_fade_color = FloatVectorProperty(
name="Fade Color",
description="Color of filtered attenuation for transparent materials",
- #min=(0.0, 0.0, 0.0), soft_max=(1.0, 1.0, 1.0),#change this to what's needed for colors
- subtype='COLOR')
- #default=(0.0, 0.0, 0.0)
+ subtype='COLOR',
+ precision = 4,
+ step = 0.01,
+ min=0,
+ soft_max = 1,
+ default=(0, 0, 0),
+ options={'ANIMATABLE'})
Mat.pov_caustics_enable = BoolProperty(
name="Caustics",