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
Wynn
purr-data
Commits
60f334b5
Commit
60f334b5
authored
Aug 02, 2013
by
Ivica Bukvic
Browse files
fixed redrawing logic of nlets on graphs under certain circumstances
parent
506b0c5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_graph.c
View file @
60f334b5
...
...
@@ -359,6 +359,7 @@ void glist_free(t_glist *x)
t_inlet
*
canvas_addinlet
(
t_canvas
*
x
,
t_pd
*
who
,
t_symbol
*
s
)
{
//fprintf(stderr,"canvas_addinlet %d %lx %d\n", x->gl_loading, x->gl_owner, glist_isvisible(x->gl_owner));
t_inlet
*
ip
=
inlet_new
(
&
x
->
gl_obj
,
who
,
s
,
0
);
if
(
!
x
->
gl_loading
&&
x
->
gl_owner
&&
glist_isvisible
(
x
->
gl_owner
))
{
...
...
@@ -758,11 +759,11 @@ void glist_redraw(t_glist *x)
canvas_drawredrect
(
x
,
1
);
}
}
if
(
x
->
gl_owner
&&
glist_isvisible
(
x
->
gl_owner
))
{
graph_vis
(
&
x
->
gl_gobj
,
x
->
gl_owner
,
0
);
graph_vis
(
&
x
->
gl_gobj
,
x
->
gl_owner
,
1
);
}
}
if
(
x
->
gl_owner
&&
glist_isvisible
(
x
->
gl_owner
))
{
graph_vis
(
&
x
->
gl_gobj
,
x
->
gl_owner
,
0
);
graph_vis
(
&
x
->
gl_gobj
,
x
->
gl_owner
,
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