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
777121c4
Commit
777121c4
authored
Jul 22, 2016
by
Jonathan Wilkes
Browse files
fix graph-on-parent scalar bug where the message to the GUI was getting corrupted
parent
cff5bf02
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_template.c
View file @
777121c4
...
...
@@ -3962,6 +3962,11 @@ static void draw_vis(t_gobj *z, t_glist *glist, t_glist *parentglist,
sprintf(tagbuf, "draw%lx.%lx", (long unsigned int)x,
(long unsigned int)data);
gui_s(tagbuf);
gui_end_array();
gui_end_vmess();
/* need to investigate this further-- it apparently handles
the z order for gop scalars */
if (!glist_istoplevel(glist))
{
t_canvas *gl = glist_getcanvas(glist);
...
...
@@ -3973,8 +3978,6 @@ static void draw_vis(t_gobj *z, t_glist *glist, t_glist *parentglist,
canvas_restore_original_position(gl, (t_gobj *)glist,
objtag, -1);
}
gui_end_array();
gui_end_vmess();
/* register events */
svg_register_events(z, glist, sc, template, data);
...
...
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