Commit 09ffd1b1 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

Merge branch 'fix-nested-ds-events'

parents 981540a7 c5fe56b0
......@@ -2245,8 +2245,6 @@ void svg_setattr(t_svg *x, t_symbol *s, t_int argc, t_atom *argv)
the arguments in an existing [draw svg] object. */
void svg_update_args(t_svg *x, t_symbol *s, int argc, t_atom *argv)
post("made it to args");
if (argc) post("first arg is %s", atom_getsymbolarg(0, argc, argv)->s_name);
/* "g" doesn't take any args, so check for "svg" arg */
if (atom_getsymbolarg(0, argc, argv) == gensym("svg"))
......@@ -4518,8 +4516,14 @@ static void scalar_spelunkforword(void* word_candidate, t_template* template,
t_template* t = template_findbyname(wp->w_array->a_templatesym);
if (t)
int i, elemsize = wp->w_array->a_elemsize;
char *vec;
for(i = 0, vec = wp->w_array->a_vec; i < wp->w_array->a_n; i++)
scalar_spelunkforword(word_candidate, t,
(t_word *)wp->w_array->a_vec, word_index, arrayp, datap);
(t_word *)(wp->w_array->a_vec + i * elemsize),
word_index, arrayp, datap);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment