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
Jonathan Wilkes
purr-data
Commits
fec9cf6c
Commit
fec9cf6c
authored
Jul 24, 2015
by
Jonathan Wilkes
Browse files
fix regression drawing data structure polyline/polygon when points is 0
parent
3e94d52e
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_template.c
View file @
fec9cf6c
...
...
@@ -3514,10 +3514,13 @@ static void svg_togui(t_svg *x, t_template *template, t_word *data)
{
int i, n = 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
));
gui_end_array
();
if (x->x_nargs)
{
gui_start_array();
for (i = 0; i < x->x_nargs; i++)
gui_f(fielddesc_getcoord(&x->x_vec[i], template, data, 1));
gui_end_array();
}
}
if (x->x_strokeopacity.a_flag)
{
...
...
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