diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-01-06 17:13:52 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-01-06 17:13:52 +0400 |
commit | f6a6f380e3ecbcdc462ba410bf352f83a81b47a6 (patch) | |
tree | 53016add4386a069f1b2141a0b1b83f5e0b92b18 | |
parent | c2c90cf910f339bb82f28fc636b66fdff9757497 (diff) |
Fix for own stupid error in r4138...
-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[:])) |