[Gridflow-cvs] [svn] commit: r4657 - /trunk/src/gem.cxx

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sun Nov 1 20:34:18 EST 2009


Author: matju
Date: Sun Nov  1 20:34:17 2009
New Revision: 4657

Log:
[#from_pix]: stop using real_obj_setupCallback

Modified:
    trunk/src/gem.cxx

Modified: trunk/src/gem.cxx
==============================================================================
--- trunk/src/gem.cxx (original)
+++ trunk/src/gem.cxx Sun Nov  1 20:34:17 2009
@@ -131,6 +131,7 @@
 		cast = int32_e;
 	}
 	virtual ~GridFromPix () {}
+	\decl 0 gem_state (void *cache, void *state);
 	void render(GemState *state) {
 		if (!state->image) {::post("gemstate has no pix"); return;}
 		imageStruct &im = state->image->image;
@@ -158,13 +159,13 @@
 */
 	}
 };
+\def 0 gem_state (void *cache, void *state) {render((GemState *)state);}
 
 void GridFromPixHelper::obj_setupCallback(t_class *) {}
 
 \end class {
 	install("#from_pix",2,1);
 	add_creator("#import_pix");
-	GridFromPixHelper::real_obj_setupCallback(fclass->bfclass);
 }
 void GridFromPixHelper::render(GemState *state) {boss->render(state);}
 



More information about the Gridflow-cvs mailing list