diff options
author | David Robillard <d@drobilla.net> | 2009-05-28 01:38:34 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-28 01:38:34 +0000 |
commit | c9a25fcc6150290790457f837355735b513b7239 (patch) | |
tree | 0b234edf54525fe2e7883ffe6c10b5e15788065c /src/engine/events | |
parent | 2f595631859574bfa7779ebb42f42b8590f5424c (diff) | |
download | ingen-c9a25fcc6150290790457f837355735b513b7239.tar.gz ingen-c9a25fcc6150290790457f837355735b513b7239.tar.bz2 ingen-c9a25fcc6150290790457f837355735b513b7239.zip |
Fix QNAMEs being serialised as URIs.
Remove vestigial variable stuff.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2017 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/events')
-rw-r--r-- | src/engine/events/CreatePatchEvent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/events/CreatePatchEvent.cpp b/src/engine/events/CreatePatchEvent.cpp index 16f749a3..ccb4f887 100644 --- a/src/engine/events/CreatePatchEvent.cpp +++ b/src/engine/events/CreatePatchEvent.cpp @@ -84,8 +84,8 @@ CreatePatchEvent::pre_process() _patch = new PatchImpl(_engine, path.name(), poly, _parent, _engine.audio_driver()->sample_rate(), _engine.audio_driver()->buffer_size(), _poly); _patch->meta().properties().insert(_properties.begin(), _properties.end()); + _patch->meta().set_property("rdf:type", Atom(Atom::URI, "ingen:Patch")); _patch->set_property("rdf:type", Atom(Atom::URI, "ingen:Node")); - _patch->set_property("rdf:instanceOf", Atom(Atom::URI, _patch->meta_uri().str())); if (_parent != NULL) { _parent->add_node(new PatchImpl::Nodes::Node(_patch)); |