From fe50d3ce33cb78b53730c156034f4a0d39bc6923 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 31 Oct 2009 23:45:12 +0000 Subject: Revert (most of) r2205, which broke node creation (invisible ports). Something more elegant is required here... git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2207 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/events/SetMetadata.cpp | 6 +++--- 1 file 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(), _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(), _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(), _time, + _create_event = new CreatePort(_engine, _responder, _time, path, data_type.uri(), is_output, _source, _properties); } if (_create_event) -- cgit v1.2.1