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

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sun Nov 1 20:39:49 EST 2009


Author: matju
Date: Sun Nov  1 20:39:48 2009
New Revision: 4659

Log:
[#from_pix]: remove helper

Modified:
    trunk/src/gem.cxx

Modified: trunk/src/gem.cxx
==============================================================================
--- trunk/src/gem.cxx (original)
+++ trunk/src/gem.cxx Sun Nov  1 20:39:48 2009
@@ -102,20 +102,10 @@
 //------------------------------------------------------------------------
 
 struct GridFromPix;
-struct GridFromPixHelper : GemPixObj {
-	GridFromPix *boss;
-	CPPEXTERN_HEADER(GridFromPixHelper,GemPixObj)
-public:
-	GridFromPixHelper () {}
-	virtual void render(GemState *state);
-	virtual bool isRunnable () {return true;} // required to keep GEM 0.9.1 (the real 0.9.1) happy
-};
-CPPEXTERN_NEW(GridFromPixHelper)
 
 //  in 0: gem (todo: auto 0 = manual mode; bang = send next frame; type = number type attr)
 // out 0: grid
 \class GridFromPix : FObject {
-	GridFromPixHelper *helper;
 	P<BitPacking> bit_packing;
 	\attr bool yflip;
 	\attr NumberTypeE cast;
@@ -157,8 +147,6 @@
 };
 \def 0 gem_state (void *cache, void *state) {render((GemState *)state);}
 \end class {install("#from_pix",2,1); add_creator("#import_pix");}
-void GridFromPixHelper::obj_setupCallback(t_class *) {}
-void GridFromPixHelper::render(GemState *state) {boss->render(state);}
 
 //------------------------------------------------------------------------
 



More information about the Gridflow-cvs mailing list