[PD] bang vs empty list

Ivica Ico Bukvic ico at vt.edu
Thu Mar 21 20:12:07 CET 2013


IOhannes,

Your patch has one regression:

--- a/src/x_connective.c
+++ b/src/x_connective.c
@@ -991,6 +991,8 @@ static void trigger_list(t_trigger *x, t_symbol *s, int argc, t_atom *argv)
          else if (u->u_type == TR_SYMBOL)
              outlet_symbol(u->u_outlet,
                  (argc ? atom_getsymbol(argv) : &s_symbol));
+        else if (u->u_type == TR_ANYTHING)
+            outlet_anything(u->u_outlet, s, argc, argv);
          else if (u->u_type == TR_POINTER)
          {
              if (!argc || argv->a_type != TR_POINTER)


This part causes pointers to not properly propagate through the trigger objects. If you run scalar-help.pd file (part of pd-extended/pd-l2ork documentation developed by Jonathan and others), clicking on scalars that should animate generates an error. Removing this works fine for scalars but I wonder if it then disables functionality of the patch you provided.

Any thoughts?



-- 
Ivica Ico Bukvic, D.M.A
Composition, Music Technology
Director, DISIS Interactive Sound & Intermedia Studio
Director, L2Ork Linux Laptop Orchestra
Head, ICAT IMPACT Studio
Virginia Tech
Department of Music
Blacksburg, VA 24061-0240
(540) 231-6139
(540) 231-5034 (fax)
disis.music.vt.edu
l2ork.music.vt.edu
ico.bukvic.net




More information about the Pd-list mailing list