[Gridflow-cvs] [svn] commit: r6756 - /trunk/src/pdp.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Thu Mar 10 22:34:29 EST 2011


Author: matju
Date: Thu Mar 10 22:34:27 2011
New Revision: 6756

Log:
simplify [#from_pdp] a bit and remove misleading name

Modified:
    trunk/src/pdp.cxx

Modified: trunk/src/pdp.cxx
==============================================================================
--- trunk/src/pdp.cxx (original)
+++ trunk/src/pdp.cxx Thu Mar 10 22:34:27 2011
@@ -101,8 +101,7 @@
 	\attr t_symbol *colorspace;
 	\constructor () {
 		scale=0; shift=7; colorspace=gensym("rgb");
-		pd_typedmess(&pd_objectmaker,gensym("#to_pdp_proxy"),0,0);
-		bitch = (pdpproxy *)pd_newest();
+		bitch = (pdpproxy *)pdpproxy_new();
 		if (!bitch) RAISE("bitchless");
 		bitch->daddy = this;
 		//inlet_new((t_object *)bself,(t_pd *)bitch,0,0);
@@ -117,7 +116,6 @@
 
 extern "C" void gridflow_pdp_setup() {
 	\startall
-	pdpproxy_class =
-	  class_new(gensym("#to_pdp_proxy"), (t_newmethod)pdpproxy_new, (t_method)pdpproxy_free, sizeof(pdpproxy),0,A_NULL);
+	pdpproxy_class = class_new(0, (t_newmethod)pdpproxy_new, (t_method)pdpproxy_free, sizeof(pdpproxy),0,A_NULL);
 	pdp_imagebase_setup(pdpproxy_class);
 }



More information about the Gridflow-cvs mailing list