diff options
author | David Robillard <d@drobilla.net> | 2012-05-22 15:33:57 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-22 15:33:57 +0000 |
commit | 81884522025e2147e309b8042bbbc6ebcd927cc7 (patch) | |
tree | 39bc63bd84c647a8d889d939bde659639bb4f95e /src/server/events | |
parent | b1d4027b58465d9cc31d6cb1be05a7ff4f202711 (diff) | |
download | ingen-81884522025e2147e309b8042bbbc6ebcd927cc7.tar.gz ingen-81884522025e2147e309b8042bbbc6ebcd927cc7.tar.bz2 ingen-81884522025e2147e309b8042bbbc6ebcd927cc7.zip |
Fix crash when setting nodes polyphonic.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4433 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/events')
-rw-r--r-- | src/server/events/SetMetadata.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/events/SetMetadata.cpp b/src/server/events/SetMetadata.cpp index 7bd3e7a5..e8cce384 100644 --- a/src/server/events/SetMetadata.cpp +++ b/src/server/events/SetMetadata.cpp @@ -142,7 +142,7 @@ SetMetadata::pre_process() // Grab the object for applying properties, if the create-event succeeded _object = _engine.engine_store()->find_object(Raul::Path(_subject.str())); } else { - _status = BAD_OBJECT_TYPE; + return Event::pre_process_done(BAD_OBJECT_TYPE); } } |