From 2122a857662203936a04a39df7d0e1ad1db82853 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 6 Jan 2007 04:16:26 +0000 Subject: Work on Port destruction (still broken). git-svn-id: http://svn.drobilla.net/lad/ingen@233 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/events/AddNodeEvent.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libs/engine/events/AddNodeEvent.cpp') 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(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); -- cgit v1.2.1