Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nerrons
purr-data
Commits
b793f3e3
Commit
b793f3e3
authored
May 23, 2014
by
Ivica Bukvic
Browse files
reenabled array transform and cosmetic fixes
parent
69b5bafb
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_template.c
View file @
b793f3e3
...
...
@@ -1918,7 +1918,7 @@ void svg_doupdatetransform(t_svg *x, t_canvas *c)
mset(mtx2, 0, 0, 0, 0, 0, 0);
t_gobj *g;
t_template *template = NULL;
t_template *warn_template = NULL;
//
t_template *warn_template = NULL;
t_canvas *visible = c;
t_canvas *parent = canvas_templatecanvas_forgroup(svg_parentcanvas(x));
while(visible->gl_isgraph && visible->gl_owner)
...
...
@@ -1971,12 +1971,12 @@ void svg_doupdatetransform(t_svg *x, t_canvas *c)
}
sys_vgui("pdtk_canvas_getscroll .x%lx.c\n", visible);
}
else if (template != NULL && warn_template != template)
/*
else if (template != NULL && warn_template != template)
{
/
*
this is not a transformable template, warn user of that
*/
/
/
this is not a transformable template, warn user of that
post("warning: transform ignored on the template %s because it includes an array", template->t_sym->s_name);
warn_template = template;
}
}
*/
if (g->g_pd == canvas_class)
{
svg_doupdatetransform(x, (t_glist *)g);
...
...
@@ -6197,7 +6197,7 @@ static void drawsymbol_getrect(t_gobj *z, t_glist *glist,
font = fielddesc_getfloat(&x->x_fontsize, template, data, 0);
if (!font) font = glist_getfont(glist);
fontwidth = sys_fontwidth(font);
fontheight = sys_fontheight(font);
fontheight = sys_fontheight(font);
if (x->x_flags & DRAW_SYMBOL)
SETSYMBOL(&at, fielddesc_getsymbol(&x->x_value, template, data, 0));
else SETFLOAT(&at, fielddesc_getfloat(&x->x_value, template, data, 0));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment