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
David MacDonald
purr-data
Commits
ba29478c
Commit
ba29478c
authored
Jul 31, 2015
by
Jonathan Wilkes
Browse files
handle empty "points" data properly
parent
1e2693b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_template.c
View file @
ba29478c
...
...
@@ -3513,9 +3513,9 @@ static void svg_togui(t_svg *x, t_template *template, t_word *data)
x->x_type == gensym("polygon"))
{
int i, n = x->x_nargs;
gui_s
(
"points"
);
if (x->x_nargs)
{
gui_s("points");
gui_start_array();
for (i = 0; i < x->x_nargs; i++)
gui_f(fielddesc_getcoord(&x->x_vec[i], template, data, 1));
...
...
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