diff options
author | Constantin Rahn <conz@vrchannel.de> | 2011-01-31 14:35:40 +0300 |
---|---|---|
committer | Constantin Rahn <conz@vrchannel.de> | 2011-01-31 14:35:40 +0300 |
commit | 338ac1e5b5934d69bcb5ff871145c74ee3cf0a00 (patch) | |
tree | 85b12ecfb667552046d3287d1e7ae560a8a71dcb /render_povray/__init__.py | |
parent | 14a62bc7038f62ac73e7f45eed7c655e20e5daa2 (diff) |
Fixed rendering of animation. The scene updates before it's exporting.
Some minor pep8 fixes.
Diffstat (limited to 'render_povray/__init__.py')
-rw-r--r-- | render_povray/__init__.py | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/render_povray/__init__.py b/render_povray/__init__.py index cfb72632..6d7fb77d 100644 --- a/render_povray/__init__.py +++ b/render_povray/__init__.py @@ -96,10 +96,10 @@ def register(): name="Media Color", description="The atmospheric media color.", subtype='COLOR', - precision = 4, - step = 0.01, + precision=4, + step=0.01, min=0, - soft_max = 1, + soft_max=1, default=(0.001, 0.001, 0.001), options={'ANIMATABLE'}) @@ -285,10 +285,10 @@ def register(): name="Fade Color", description="Color of filtered attenuation for transparent materials", subtype='COLOR', - precision = 4, - step = 0.01, - min=0, - soft_max = 1, + precision=4, + step=0.01, + min=0.0, + soft_max=1.0, default=(0, 0, 0), options={'ANIMATABLE'}) @@ -402,7 +402,6 @@ def register(): ########################################################################### - def unregister(): import bpy Scene = bpy.types.Scene |