diff options
author | David Robillard <d@drobilla.net> | 2008-08-16 18:45:27 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-08-16 18:45:27 +0000 |
commit | 42936aa5d924ca89fe3d887fd0ffeb7a281b547e (patch) | |
tree | 0bc295b9f021bee109822782af4c15504b25efa4 /src/libs/engine/events/CreateNodeEvent.cpp | |
parent | 1116f096282e47c4f85c4681906bacf2516d5a01 (diff) | |
download | ingen-42936aa5d924ca89fe3d887fd0ffeb7a281b547e.tar.gz ingen-42936aa5d924ca89fe3d887fd0ffeb7a281b547e.tar.bz2 ingen-42936aa5d924ca89fe3d887fd0ffeb7a281b547e.zip |
Add missing Store.cpp.
More serialisation work.
git-svn-id: http://svn.drobilla.net/lad/ingen@1402 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events/CreateNodeEvent.cpp')
-rw-r--r-- | src/libs/engine/events/CreateNodeEvent.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/engine/events/CreateNodeEvent.cpp b/src/libs/engine/events/CreateNodeEvent.cpp index d1d21a36..49cbb58e 100644 --- a/src/libs/engine/events/CreateNodeEvent.cpp +++ b/src/libs/engine/events/CreateNodeEvent.cpp @@ -73,13 +73,13 @@ CreateNodeEvent::CreateNodeEvent(Engine& engine, SharedPtr<Responder> responder, void CreateNodeEvent::pre_process() { - if (_engine.object_store()->find_object(_path) != NULL) { + if (_engine.engine_store()->find_object(_path) != NULL) { _node_already_exists = true; QueuedEvent::pre_process(); return; } - _patch = _engine.object_store()->find_patch(_path.parent()); + _patch = _engine.engine_store()->find_patch(_path.parent()); PluginImpl* const plugin = (_plugin_uri != "") ? _engine.node_factory()->plugin(_plugin_uri) @@ -98,8 +98,8 @@ CreateNodeEvent::pre_process() // This can be done here because the audio thread doesn't touch the // node tree - just the process order array _patch->add_node(new PatchImpl::Nodes::Node(_node)); - //_node->add_to_store(_engine.object_store()); - _engine.object_store()->add(_node); + //_node->add_to_store(_engine.engine_store()); + _engine.engine_store()->add(_node); // FIXME: not really necessary to build process order since it's not connected, // just append to the list |