[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2107] contrib/py/scripts/addons/ render_to_print.py: final commit/adjustments, sorry, we did commit too quickly & made enhancements on the fly.
Brendon Murphy
meta.androcto1 at gmail.com
Thu Jul 7 14:33:05 CEST 2011
Revision: 2107
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2107
Author: meta-androcto
Date: 2011-07-07 12:33:05 +0000 (Thu, 07 Jul 2011)
Log Message:
-----------
final commit/adjustments, sorry, we did commit too quickly & made enhancements on the fly.
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:19:16 UTC (rev 2106)
+++ contrib/py/scripts/addons/render_to_print.py 2011-07-07 12:33:05 UTC (rev 2107)
@@ -206,10 +206,15 @@
row6.enabled=False
col.separator()
- row7.operator("object.dop2r", text="SET RENDER!", icon="RENDER_STILL")
+ row7.operator("object.dop2r", text="SET !", icon="RENDER_STILL")
# 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