diff options
author | David Robillard <d@drobilla.net> | 2010-02-22 23:07:21 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-02-22 23:07:21 +0000 |
commit | 8c98e7e907bf8139193436a3af44a5ecf7f74b80 (patch) | |
tree | ad63a04a760c458190569007620a1fb1f9938a45 /src/engine/events/CreateNode.cpp | |
parent | de5fbd4001ae2d8db2edc9abdd2d757587047ecb (diff) | |
download | ingen-8c98e7e907bf8139193436a3af44a5ecf7f74b80.tar.gz ingen-8c98e7e907bf8139193436a3af44a5ecf7f74b80.tar.bz2 ingen-8c98e7e907bf8139193436a3af44a5ecf7f74b80.zip |
Don't respond with PUT (creating empty nodes) when plugin instantiation fails.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2479 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/events/CreateNode.cpp')
-rw-r--r-- | src/engine/events/CreateNode.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engine/events/CreateNode.cpp b/src/engine/events/CreateNode.cpp index 37adda6b..bd1412a2 100644 --- a/src/engine/events/CreateNode.cpp +++ b/src/engine/events/CreateNode.cpp @@ -113,6 +113,10 @@ CreateNode::pre_process() _compiled_patch = _patch->compile(); } } + + if (!_node) + _error = 1; + QueuedEvent::pre_process(); } |