diff options
-rw-r--r-- | src/engine/events/SetMetadata.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/events/SetMetadata.cpp b/src/engine/events/SetMetadata.cpp index a642ba18..3d62781d 100644 --- a/src/engine/events/SetMetadata.cpp +++ b/src/engine/events/SetMetadata.cpp @@ -101,15 +101,15 @@ SetMetadata::pre_process() iterator p = _properties.find("ingen:polyphony"); if (p != _properties.end() && p->second.is_valid() && p->second.type() == Atom::INT) poly = p->second.get_int32(); - _create_event = new CreatePatch(_engine, SharedPtr<Responder>(), _time, + _create_event = new CreatePatch(_engine, _responder, _time, path, poly, _properties); } else if (is_node) { const iterator p = _properties.find("rdf:instanceOf"); - _create_event = new CreateNode(_engine, SharedPtr<Responder>(), _time, + _create_event = new CreateNode(_engine, _responder, _time, path, p->second.get_uri(), true, _properties); } else if (is_port) { _blocking = true; - _create_event = new CreatePort(_engine, SharedPtr<Responder>(), _time, + _create_event = new CreatePort(_engine, _responder, _time, path, data_type.uri(), is_output, _source, _properties); } if (_create_event) |