[Gridflow-cvs] [svn] commit: r5882 - /trunk/src/classes2.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sat Jul 31 17:55:15 EDT 2010


Author: matju
Date: Sat Jul 31 17:55:15 2010
New Revision: 5882

Log:
work for [gf/propertybang] placed inside a subpatch. ([gf/propertybang] is relative to a $0, not to a canvas)

Modified:
    trunk/src/classes2.cxx

Modified: trunk/src/classes2.cxx
==============================================================================
--- trunk/src/classes2.cxx (original)
+++ trunk/src/classes2.cxx Sat Jul 31 17:55:15 2010
@@ -1661,8 +1661,8 @@
 
 std::map<t_canvas *, std::map<t_gobj *, int> > propertybang_map;
 \class PropertyBang : FObject {
-	\constructor () {propertybang_map[mom][(t_gobj *)bself]=1;}
-	~PropertyBang () {propertybang_map[mom].erase((t_gobj *)bself);}
+	\constructor () {propertybang_map[canvas_getabstop(mom)][(t_gobj *)bself]=1;}
+	~PropertyBang () {propertybang_map[canvas_getabstop(mom)].erase((t_gobj *)bself);}
 	void properties () {outlet_bang(outlets[0]);}
 };
 extern "C" void canvas_properties(t_gobj *z, t_glist *owner);



More information about the Gridflow-cvs mailing list