diff options
author | David Robillard <d@drobilla.net> | 2007-01-06 04:16:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-01-06 04:16:26 +0000 |
commit | 2122a857662203936a04a39df7d0e1ad1db82853 (patch) | |
tree | b31070a9d01ab20da1a03bf8d029dc3ce6ab66bc /src/libs/engine/events/AddNodeEvent.cpp | |
parent | 9c5f7e9dc2029f97d0baf622165701e7c124b25e (diff) | |
download | ingen-2122a857662203936a04a39df7d0e1ad1db82853.tar.gz ingen-2122a857662203936a04a39df7d0e1ad1db82853.tar.bz2 ingen-2122a857662203936a04a39df7d0e1ad1db82853.zip |
Work on Port destruction (still broken).
git-svn-id: http://svn.drobilla.net/lad/ingen@233 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events/AddNodeEvent.cpp')
-rw-r--r-- | src/libs/engine/events/AddNodeEvent.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/engine/events/AddNodeEvent.cpp b/src/libs/engine/events/AddNodeEvent.cpp index 74a08b00..92214009 100644 --- a/src/libs/engine/events/AddNodeEvent.cpp +++ b/src/libs/engine/events/AddNodeEvent.cpp @@ -96,6 +96,8 @@ AddNodeEvent::pre_process() m_patch->add_node(new ListNode<Node*>(m_node)); m_node->add_to_store(_engine.object_store()); + // FIXME: not really necessary to build process order since it's not connected, + // just append to the list if (m_patch->enabled()) m_process_order = m_patch->build_process_order(); } @@ -110,8 +112,6 @@ AddNodeEvent::execute(SampleCount nframes, FrameTime start, FrameTime end) QueuedEvent::execute(nframes, start, end); if (m_node != NULL) { - m_node->add_to_patch(); - if (m_patch->process_order() != NULL) _engine.maid()->push(m_patch->process_order()); m_patch->process_order(m_process_order); |