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
79494149
Commit
79494149
authored
Dec 30, 2018
by
Jonathan Wilkes
Browse files
fix #431: stale pointer for scalar events in nested gop
parent
9484aff7
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_graph.c
View file @
79494149
...
...
@@ -948,6 +948,17 @@ static void graph_vis(t_gobj *gr, t_glist *parent_glist, int vis)
}
else
if
(
gobj_shouldvis
(
gr
,
parent_glist
))
{
/* erase contents of glist. We need to do this because
scalar_vis is currently using pd_bind/unbind to handle
scalar events. */
for
(
g
=
x
->
gl_list
;
g
;
g
=
g
->
g_next
)
{
gop_redraw
=
1
;
//fprintf(stderr,"drawing gop objects\n");
gobj_vis
(
g
,
x
,
0
);
//fprintf(stderr,"done\n");
gop_redraw
=
0
;
}
gui_vmess
(
"gui_gobj_erase"
,
"xs"
,
glist_getcanvas
(
x
->
gl_owner
),
tag
);
...
...
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