From 107935b5725b7ab6cc5cb643c1b156b9b2267445 Mon Sep 17 00:00:00 2001 From: Maurice Raybaud <mauriceraybaud@hotmail.fr> Date: Sat, 15 Jan 2011 23:50:10 +0000 Subject: [PATCH] Commented out a forbidden scene property change. There might be others. We need to find a proper way to translate blender properties to pov ones that are different but achieve the same purpose --- render_povray/render.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/render_povray/render.py b/render_povray/render.py index 97225e44d..ba5edc222 100644 --- a/render_povray/render.py +++ b/render_povray/render.py @@ -1229,11 +1229,12 @@ def write_pov(filename, scene=None, info_callback=None): tabWrite('}\n') #sky_sphere alpha (transmit) is not translating into image alpha the same way as 'background' - if world.light_settings.use_indirect_light: - scene.pov_radio_enable=1 + #if world.light_settings.use_indirect_light: + # scene.pov_radio_enable=1 - #Maybe change the above to scene.pov_radio_enable = world.light_settings.use_indirect_light ? - + #Maybe change the above to a funtion copyInternalRenderer settings when user pushes a button, then: + #scene.pov_radio_enable = world.light_settings.use_indirect_light + #and other such translations but maybe this would not be allowed either? ############################################################### -- GitLab