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

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Fri Feb 26 20:19:25 EST 2010


Author: matju
Date: Fri Feb 26 20:19:23 2010
New Revision: 5073

Log:
hide selector for any list that start with a float, not just "list 42" and the like.

Modified:
    trunk/src/classes2.cxx

Modified: trunk/src/classes2.cxx
==============================================================================
--- trunk/src/classes2.cxx (original)
+++ trunk/src/classes2.cxx Fri Feb 26 20:19:23 2010
@@ -472,7 +472,9 @@
 \def void anything (...) {
 	string sel = string(argv[0]).data()+3;
 	text.str("");
-	if (sel=="float") {} else if (sel=="list" && argc==2) {} else {text << sel; if (argc>1) text << " ";}
+	if (sel=="float") {}
+	else if (sel=="list" && argc>=2 && argv[1].a_type==A_FLOAT) {}
+	else {text << sel; if (argc>1) text << " ";}
 	long nl=0;
 	for (int i=1; i<argc; i++) {
 		text << argv[i];



More information about the Gridflow-cvs mailing list