Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nerrons
purr-data
Commits
d0d17d9b
Commit
d0d17d9b
authored
May 22, 2014
by
pokergaming
Browse files
fixed vis method for [draw]
parent
69b5bafb
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_template.c
View file @
d0d17d9b
...
@@ -2981,6 +2981,11 @@ static void svg_togui(t_svg *x, t_template *template, t_word *data)
...
@@ -2981,6 +2981,11 @@ static void svg_togui(t_svg *x, t_template *template, t_word *data)
sys_vgui("-matrix { {%g %g} {%g %g} {%g %g} }\\\n",
sys_vgui("-matrix { {%g %g} {%g %g} {%g %g} }\\\n",
m1, m2, m3, m4, m5, m6);
m1, m2, m3, m4, m5, m6);
}
}
if (x->x_vis.a_flag)
{
sys_vgui("-state %s ", fielddesc_getfloat(&x->x_vis.a_attr,
template, data, 1) ? "normal" : "hidden");
}
}
}
void svg_grouptogui(t_glist *g, t_template *template, t_word *data)
void svg_grouptogui(t_glist *g, t_template *template, t_word *data)
...
@@ -3037,8 +3042,8 @@ static void draw_vis(t_gobj *z, t_glist *glist, t_glist *parentglist,
...
@@ -3037,8 +3042,8 @@ static void draw_vis(t_gobj *z, t_glist *glist, t_glist *parentglist,
}*/
}*/
/* see comment in plot_vis() */
/* see comment in plot_vis() */
if (vis && !fielddesc_getfloat(&sa->x_vis.a_attr, template, data, 0))
/*
if (vis && !fielddesc_getfloat(&sa->x_vis.a_attr, template, data, 0))
return;
return;
*/
if (vis)
if (vis)
{
{
if (n > 2)
if (n > 2)
...
...
Write
Preview
Supports
Markdown
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