# HG changeset patch # User Edouard Tisserant # Date 1571908804 -7200 # Node ID a6be58a1a8b7540f46c8851cc27997fa2e854bc9 # Parent f48121cf31b6c31172252fa79a0b39f3819748c3 Fixed one more sequel of 5f79b194fa63 'SVGHMI: filter out temporary variables created while generating ST code out of FBD.' diff -r f48121cf31b6 -r a6be58a1a8b7 editors/Viewer.py --- a/editors/Viewer.py Thu Oct 24 10:02:07 2019 +0200 +++ b/editors/Viewer.py Thu Oct 24 11:20:04 2019 +0200 @@ -1006,7 +1006,7 @@ if connectorname == "": iec_path = "%s.%s%d" % (instance_path, block.GetType(), block.GetId()) else: - iec_path = "%s.%s%d_%s" % (instance_path, block.GetType(), block.GetId(), connectorname) + iec_path = "%s._TMP_%s%d_%s" % (instance_path, block.GetType(), block.GetId(), connectorname) elif isinstance(block, FBD_Variable): iec_path = "%s.%s" % (instance_path, block.GetName()) elif isinstance(block, FBD_Connector):