diff options
Diffstat (limited to 'render_povray/render.py')
-rw-r--r-- | render_povray/render.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render_povray/render.py b/render_povray/render.py index 2d58b0f1..ddcd354b 100644 --- a/render_povray/render.py +++ b/render_povray/render.py @@ -1781,7 +1781,7 @@ def write_pov(filename, scene=None, info_callback=None): #if render.alpha_mode == 'STRAIGHT': #tabWrite("[0.0 rgbt<%.3g, %.3g, %.3g, 1>]\n" % (world.horizon_color[:])) #tabWrite("[1.0 rgbt<%.3g, %.3g, %.3g, 1>]\n" % (world.zenith_color[:])) - elif render.alpha_mode == 'TRANSPARENT': + if render.alpha_mode == 'TRANSPARENT': tabWrite("[0.0 rgbt<%.3g, %.3g, %.3g, 0.99>]\n" % (world.horizon_color[:])) # aa premult not solved with transmit 1 tabWrite("[1.0 rgbt<%.3g, %.3g, %.3g, 0.99>]\n" % (world.zenith_color[:])) |