diff options
author | David Robillard <d@drobilla.net> | 2006-06-19 00:32:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-06-19 00:32:15 +0000 |
commit | 3bb7c1a7eef744d17e436522a3dc0ed8527a427e (patch) | |
tree | 62f9e596c21d5ad294f3c95e0c29e074db89567f /src/libs/engine/events/CreatePatchEvent.cpp | |
parent | d2042e04de9ba3ab962890d228ad2adf84a0d728 (diff) | |
download | ingen-3bb7c1a7eef744d17e436522a3dc0ed8527a427e.tar.gz ingen-3bb7c1a7eef744d17e436522a3dc0ed8527a427e.tar.bz2 ingen-3bb7c1a7eef744d17e436522a3dc0ed8527a427e.zip |
Ditched ghetto homebrew RTTI in favour of the real deal;
removed BridgeNode crap
git-svn-id: http://svn.drobilla.net/lad/grauph@58 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events/CreatePatchEvent.cpp')
-rw-r--r-- | src/libs/engine/events/CreatePatchEvent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/engine/events/CreatePatchEvent.cpp b/src/libs/engine/events/CreatePatchEvent.cpp index 9f0ae7f2..2d8cce99 100644 --- a/src/libs/engine/events/CreatePatchEvent.cpp +++ b/src/libs/engine/events/CreatePatchEvent.cpp @@ -74,7 +74,7 @@ CreatePatchEvent::pre_process() m_patch = new Patch(m_path.name(), poly, m_parent, om->audio_driver()->sample_rate(), om->audio_driver()->buffer_size(), m_poly); if (m_parent != NULL) { - m_parent->add_node(new ListNode<Node*>(m_patch->as_node())); + m_parent->add_node(new ListNode<Node*>(m_patch)); if (m_parent->process()) m_process_order = m_parent->build_process_order(); |