summaryrefslogtreecommitdiffstats
path: root/src/scripts/python/scripts/flatten.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/python/scripts/flatten.py')
-rwxr-xr-xsrc/scripts/python/scripts/flatten.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/python/scripts/flatten.py b/src/scripts/python/scripts/flatten.py
index 530e4291..7c311451 100755
--- a/src/scripts/python/scripts/flatten.py
+++ b/src/scripts/python/scripts/flatten.py
@@ -77,7 +77,7 @@ def cloneNode(om, node, patch):
# copy port values
for port in node.getPorts():
path = '%s/%s/%s' % (patch.getPath(), name, port.getName())
- om.synth.set_port_value_slow.async(path, port.value)
+ om.synth.set_property_slow.async(path, "ingen:value", port.value)
om.metadata.set.async(path, 'user-min', '%f' % port.minvalue)
om.metadata.set.async(path, 'user-max', '%f' % port.maxvalue)
return name
@@ -124,7 +124,7 @@ def flatten(om, patch):
conns = port4.getConnections().keys()
if len(conns) == 0:
portValue = port4.value
- om.synth.set_port_value_slow.async(dst, portValue)
+ om.synth.set_property_slow.async(dst, "ingen:value", portValue)
else:
for port3 in port4.getConnections().keys():
src = port3.getPath()