[Gridflow-cvs] [svn] commit: r6279 - /trunk/src/classes_gui.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sat Sep 18 22:55:36 EDT 2010


Author: matju
Date: Sat Sep 18 22:55:34 2010
New Revision: 6279

Log:
fixed initialisation bug

Modified:
    trunk/src/classes_gui.cxx

Modified: trunk/src/classes_gui.cxx
==============================================================================
--- trunk/src/classes_gui.cxx (original)
+++ trunk/src/classes_gui.cxx Sat Sep 18 22:55:34 2010
@@ -276,6 +276,7 @@
 		pd_anything(&pd_objectmaker,gensym("gf/mouse_spy_proxy"),1,a);
 		proxy = (BFObject *)pd_newest();
 		((MouseSpyProxy *)proxy->self)->snd = (t_pd *)bself;
+		y=x=flags=0;
 	}
 	void set_rcv (t_symbol *rcv_=0) {((MouseSpyProxy *)proxy->self)->set_rcv(rcv_);}
 	~MouseSpy () {((MouseSpyProxy *)proxy->self)->delayed_free();}
@@ -419,6 +420,7 @@
 		//if (self->clock) {clock_free(self->clock); self->clock=0;}
 	}
 	static void visfn(BLAH, int flag) {INIT1
+		//post("#see visfn c=%p flag=%d",glist,flag);
 		GUI_FObject::visfn(x,glist,flag);//super
 		clock_delay(self->clock,0);
 	}



More information about the Gridflow-cvs mailing list