Commit c08ec307 authored by Mathieu L Bouchard's avatar Mathieu L Bouchard
Browse files

revert stuff that shouldn't have been committed.

parent 4a68207b
...@@ -139,7 +139,6 @@ int template_hasxy(t_template *template) ...@@ -139,7 +139,6 @@ int template_hasxy(t_template *template)
int template_cancreate(t_template *template) int template_cancreate(t_template *template)
{ {
//return 1;
int i, type, nitems = template->t_n; int i, type, nitems = template->t_n;
t_dataslot *datatypes = template->t_vec; t_dataslot *datatypes = template->t_vec;
t_template *elemtemplate; t_template *elemtemplate;
...@@ -176,7 +175,6 @@ t_scalar *scalar_new(t_glist *owner, t_symbol *templatesym) ...@@ -176,7 +175,6 @@ t_scalar *scalar_new(t_glist *owner, t_symbol *templatesym)
} }
if (!template_cancreate(template)) if (!template_cancreate(template))
return (0); return (0);
post("ALLÔ");
x = (t_scalar *)getbytes(sizeof(t_scalar) + x = (t_scalar *)getbytes(sizeof(t_scalar) +
(template->t_n - 1) * sizeof(*x->sc_vec)); (template->t_n - 1) * sizeof(*x->sc_vec));
x->sc_gobj.g_pd = scalar_class; x->sc_gobj.g_pd = scalar_class;
......
Supports Markdown
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