summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-10-31 23:45:12 +0000
committerDavid Robillard <d@drobilla.net>2009-10-31 23:45:12 +0000
commitfe50d3ce33cb78b53730c156034f4a0d39bc6923 (patch)
treed13f89b670eb3a0e142d64ea020e55788cdf1ea5 /src/engine
parent860e0f7cc7dbba7b644bb6d056873fd70e8052d2 (diff)
downloadingen-fe50d3ce33cb78b53730c156034f4a0d39bc6923.tar.gz
ingen-fe50d3ce33cb78b53730c156034f4a0d39bc6923.tar.bz2
ingen-fe50d3ce33cb78b53730c156034f4a0d39bc6923.zip
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
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/events/SetMetadata.cpp6
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)