changeset 355:bad8a536c157 prerelease

Fixed Bela_pdMessageHook
author Giulio Moro <giuliomoro@yahoo.it>
date Wed, 08 Jun 2016 21:13:02 +0100
parents 1b23300f3e78
children 44e4962ee37a
files examples/basic_libpd/render.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/examples/basic_libpd/render.cpp	Wed Jun 08 21:11:36 2016 +0100
+++ b/examples/basic_libpd/render.cpp	Wed Jun 08 21:13:02 2016 +0100
@@ -83,6 +83,7 @@
 		int channel = libpd_get_float(&argv[0]) - LIBPD_DIGITAL_OFFSET;
 		if(disable == true){
 			dcm.unmanage(channel);
+			return;
 		}
 		if(argc >= 2){
 			t_atom* a = &argv[1];