[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1412] trunk/py/scripts/addons/ render_povray/render.py: Commented out a forbidden scene property change.

Maurice Raybaud mauriceraybaud at hotmail.fr
Sun Jan 16 00:50:11 CET 2011


Revision: 1412
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=1412
Author:   mauriceraybaud
Date:     2011-01-15 23:50:10 +0000 (Sat, 15 Jan 2011)
Log Message:
-----------
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 

Modified Paths:
--------------
    trunk/py/scripts/addons/render_povray/render.py

Modified: trunk/py/scripts/addons/render_povray/render.py
===================================================================
--- trunk/py/scripts/addons/render_povray/render.py	2011-01-15 21:34:21 UTC (rev 1411)
+++ trunk/py/scripts/addons/render_povray/render.py	2011-01-15 23:50:10 UTC (rev 1412)
@@ -1229,12 +1229,13 @@
                     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?
 
-
         ###############################################################
 
         mist = world.mist_settings



More information about the Bf-extensions-cvs mailing list