summaryrefslogtreecommitdiffstats
path: root/src/libs/serialisation/Loader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/serialisation/Loader.cpp')
-rw-r--r--src/libs/serialisation/Loader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/serialisation/Loader.cpp b/src/libs/serialisation/Loader.cpp
index c9b01bf8..ec06d0bc 100644
--- a/src/libs/serialisation/Loader.cpp
+++ b/src/libs/serialisation/Loader.cpp
@@ -151,7 +151,7 @@ Loader::load(Ingen::Shared::World* world,
if (poly_node.is_bool() && poly_node.to_bool() == true)
node_polyphonic = true;
- world->engine->create_node(node_path, node_plugin, node_polyphonic);
+ world->engine->new_node(node_path, node_plugin, node_polyphonic);
created.insert(node_path);
}
@@ -249,7 +249,7 @@ Loader::load(Ingen::Shared::World* world,
if (created.find(port_path) == created.end()) {
bool is_output = (type == "ingen:OutputPort"); // FIXME: check validity
- world->engine->create_port(port_path, datatype, is_output);
+ world->engine->new_port(port_path, datatype, is_output);
created.insert(port_path);
}