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

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Mon Nov 2 21:39:16 EST 2009


Author: matju
Date: Mon Nov  2 21:39:16 2009
New Revision: 4713

Log:
hide #X text inlets completely

Modified:
    trunk/src/classes2.cxx

Modified: trunk/src/classes2.cxx
==============================================================================
--- trunk/src/classes2.cxx (original)
+++ trunk/src/classes2.cxx Mon Nov  2 21:39:16 2009
@@ -1126,10 +1126,9 @@
 t_widgetbehavior text_widgetbehavi0r;
 static void text_visfn_hax0r (t_gobj *o, t_canvas *can, int vis) {
 	text_widgetbehavior.w_visfn(o,can,vis);
-	if (!vis) {
-	        t_rtext *y = glist_findrtext(can,(t_text *)o);
-		if (gobj_shouldvis((t_gobj *)o,can)) glist_eraseiofor(can,(t_object *)o,rtext_gettag(y));
-	}
+	//if (vis) return; // if you want to see #X text inlets uncomment this line
+      t_rtext *y = glist_findrtext(can,(t_text *)o);
+	if (gobj_shouldvis((t_gobj *)o,can)) glist_eraseiofor(can,(t_object *)o,rtext_gettag(y));
 }
 \end class {
 	install("gf/lol",1,1);



More information about the Gridflow-cvs mailing list