[Gridflow-cvs] [svn] commit: r5455 - /trunk/src/gridflow.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Thu Apr 15 20:59:06 EDT 2010


Author: matju
Date: Thu Apr 15 20:59:06 2010
New Revision: 5455

Log:
here's the catch for protecting loadbang-methods

Modified:
    trunk/src/gridflow.cxx

Modified: trunk/src/gridflow.cxx
==============================================================================
--- trunk/src/gridflow.cxx (original)
+++ trunk/src/gridflow.cxx Thu Apr 15 20:59:06 2010
@@ -570,8 +570,10 @@
 static t_class *BFProxy_class;
 
 static void BFObject_loadbang (BFObject *bself) {
+    try {
 	FMethod m = funcall_lookup(bself,"_0_loadbang");
 	m(bself->self,0,0);
+    } catch (Barf &oozy) {oozy.error(bself);}
 }
 
 static void BFObject_anything (BFObject *bself, int winlet, t_symbol *selector, int ac, t_atom2 *at) {



More information about the Gridflow-cvs mailing list