[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1356] trunk/py/scripts/addons/ render_povray/render.py: Fixed some errors in the Povray exporters, discovered by Conz.

Thomas Dinges blender at dingto.de
Fri Jan 7 11:09:46 CET 2011


Revision: 1356
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=1356
Author:   dingto
Date:     2011-01-07 10:09:46 +0000 (Fri, 07 Jan 2011)
Log Message:
-----------
Fixed some errors in the Povray exporters, discovered by Conz. Thanks! 

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-06 18:16:14 UTC (rev 1355)
+++ trunk/py/scripts/addons/render_povray/render.py	2011-01-07 10:09:46 UTC (rev 1356)
@@ -1245,7 +1245,7 @@
     file.write('End_Row=%d\n' % (part.y+part.h))
     '''
 
-    file.write('Bounding_method=2\n')#The new automatic BSP is faster in most scenes
+    file.write('Bounding_Method=2\n')#The new automatic BSP is faster in most scenes
 
     file.write('Display=1\n')#Activated (turn this back off when better live exchange is done between the two programs (see next comment)
     file.write('Pause_When_Done=0\n')
@@ -1256,7 +1256,7 @@
     if render.use_antialiasing:
         aa_mapping = {'5': 2, '8': 3, '11': 4, '16': 5} # method 2 (recursive) with higher max subdiv forced because no mipmapping in povray needs higher sampling.
         file.write('Antialias=1\n')
-        file.write('Sampling_Method=2n')
+        file.write('Sampling_Method=2\n')
         file.write('Antialias_Depth=%d\n' % aa_mapping[render.antialiasing_samples])
         file.write('Antialias_Threshold=0.1\n')#rather high settings but necessary.
         file.write('Jitter=off\n')#prevent animation flicker



More information about the Bf-extensions-cvs mailing list