[Gridflow-cvs] [svn] commit: r3793 - /trunk/optional/gem.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Wed Jun 4 15:21:12 EDT 2008


Author: matju
Date: Wed Jun  4 15:21:12 2008
New Revision: 3793

Log:
now left outlet of [#import_pix] is a grid. (outlets have been swapped)

Modified:
    trunk/optional/gem.c

Modified: trunk/optional/gem.c
==============================================================================
--- trunk/optional/gem.c (original)
+++ trunk/optional/gem.c Wed Jun  4 15:21:12 2008
@@ -124,7 +124,6 @@
 		bit_packing = new BitPacking(is_le(),4,4,mask);
 		yflip = false;
 		bself->gemself = (GemPixObj *)this;
-		bself->noutlets_set(1); // create 1 outlet AFTER GEM has created its own
 		helper = new GridFromPixHelper;
 		helper->boss = this;
 		bself->gemself = helper;
@@ -151,7 +150,8 @@
 void GridFromPixHelper::obj_setupCallback(t_class *) {}
 
 \end class {
-	install("#import_pix",2,0); // have to say 0 outlets so that GEM's outlet is created first
+	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