Bug in function generation fixed
authorlbessard
Wed, 24 Sep 2008 17:16:40 +0200
changeset 276 cc9c4a7510b4
parent 275 acf474a94136
child 277 5fc11b2d4fbb
Bug in function generation fixed
PLCGenerator.py
--- a/PLCGenerator.py	Mon Sep 22 08:01:10 2008 +0200
+++ b/PLCGenerator.py	Wed Sep 24 17:16:40 2008 +0200
@@ -464,7 +464,7 @@
                     if variable.getformalParameter() == parameter:
                         return variable.connectionPointOut
             else:
-                point = link.getPosition()[-1]
+                point = link.getposition()[-1]
                 for variable in outputvariables:
                     relposition = variable.connectionPointOut.getrelPositionXY()
                     blockposition = instance.getposition()