Skip to content

Commit

Permalink
pic fix realize dollar
Browse files Browse the repository at this point in the history
  • Loading branch information
porres committed Jun 19, 2020
1 parent 7b5c046 commit a8b42ce
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Classes/Source/pic.c
Original file line number Diff line number Diff line change
Expand Up @@ -596,10 +596,12 @@ static void *pic_new(t_symbol *s, int ac, t_atom *av){
x->x_width = x->x_height = 38;
x->x_def_img = 1;
}
if(x->x_receive != &s_)
pd_bind(&x->x_obj.ob_pd, x->x_receive);
x->x_snd_raw = x->x_send;
x->x_send = canvas_realizedollar(x->x_glist, x->x_send)
x->x_rcv_raw = x->x_receive;
x->x_receive = canvas_realizedollar(x->x_glist, x->x_receive)
if(x->x_receive != &s_)
pd_bind(&x->x_obj.ob_pd, x->x_receive);
x->x_outlet = outlet_new(&x->x_obj, &s_bang);
return(x);
errstate:
Expand Down

0 comments on commit a8b42ce

Please sign in to comment.