[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [4415] contrib/py/scripts/addons/ node_efficiency_tools.py: Small change in AddReroutes:

Bartek Skorupa bartekskorupa at bartekskorupa.com
Fri Mar 22 23:52:55 CET 2013


Revision: 4415
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=4415
Author:   bartekskorupa
Date:     2013-03-22 22:52:54 +0000 (Fri, 22 Mar 2013)
Log Message:
-----------
Small change in AddReroutes:
y_offset increased by one unit. This better matches spacing between outputs of nodes.

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

Modified: contrib/py/scripts/addons/node_efficiency_tools.py
===================================================================
--- contrib/py/scripts/addons/node_efficiency_tools.py	2013-03-22 21:52:52 UTC (rev 4414)
+++ contrib/py/scripts/addons/node_efficiency_tools.py	2013-03-22 22:52:54 UTC (rev 4415)
@@ -594,7 +594,7 @@
                 x = node.location.x + width + 20.0
                 if node.type != 'REROUTE':
                     y -= 35.0
-                y_offset = -21.0
+                y_offset = -22.0
                 loc = [x, y]
             reroutes_count = 0  # will be used when aligning reroutes added to hidden nodes
             for out_i, output in enumerate(node.outputs):



More information about the Bf-extensions-cvs mailing list