[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2105] contrib/py/scripts/addons/ render_to_print.py: fix for cm > pixel to avoid massive renders

Brendon Murphy meta.androcto1 at gmail.com
Thu Jul 7 14:11:10 CEST 2011


Revision: 2105
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2105
Author:   meta-androcto
Date:     2011-07-07 12:11:10 +0000 (Thu, 07 Jul 2011)
Log Message:
-----------
fix for cm > pixel to avoid massive renders
thanks to zeffii

Modified Paths:
--------------
    contrib/py/scripts/addons/render_to_print.py

Modified: contrib/py/scripts/addons/render_to_print.py
===================================================================
--- contrib/py/scripts/addons/render_to_print.py	2011-07-07 12:07:26 UTC (rev 2104)
+++ contrib/py/scripts/addons/render_to_print.py	2011-07-07 12:11:10 UTC (rev 2105)
@@ -210,6 +210,11 @@
         
         #  this if else deals with hiding UI elements when logic demands it.
         tipo,dim_w,dim_h = scn.MyPreset.split("_")
+
+        if tipo == "custom":
+            row.active=False
+            row.enabled=False
+
         if scn.MyFrom == "Cm--->Pixel":
             row5.active=False
             row5.enabled=False



More information about the Bf-extensions-cvs mailing list