<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hello, <div><br></div><div>Apologies. I think it’s a mistake I’m in this thread. <br><br><div dir="ltr"><div>(Sent from my iPhone)</div><div><div><div style="word-wrap: break-word;"><div style="word-wrap: break-word;"><span style="background-color: rgba(255, 255, 255, 0);">Warm regards,</span></div><div style="word-wrap: break-word;"><span style="background-color: rgba(255, 255, 255, 0);"><b>Danny Imson, Composition and Music Technology </b></span></div><div style="word-wrap: break-word;"><span style="background-color: rgba(255, 255, 255, 0);"><b>School of the Arts Singapore </b></span></div></div></div></div></div><div dir="ltr"><br><blockquote type="cite">On 5 Jun 2020, at 12:28 PM, Jonathan Wilkes <jon.w.wilkes@gmail.com> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><span>On Thu, Jun 4, 2020 at 11:13 PM Ivica Ico Bukvic <ico@vt.edu> wrote:</span><br><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>So, I tracked this problem down to the g_graph.c line 960 where</span><br></blockquote><blockquote type="cite"><span>graph_vis 0 deletes all glist objects inside gop regardless whether they</span><br></blockquote><blockquote type="cite"><span>are scalars or not and when graph_vis 1 is called it does not do</span><br></blockquote><blockquote type="cite"><span>anything to the subwindow but only its representation on the parent</span><br></blockquote><blockquote type="cite"><span>window. When commented out, this fixes the problem but likely breaks the</span><br></blockquote><blockquote type="cite"><span>scalars. So, now I need to track if there is a way for glist to report</span><br></blockquote><blockquote type="cite"><span>whether it has any scalars and if so, to delete and redraw them as part</span><br></blockquote><blockquote type="cite"><span>of the graph_vis. This is all kind of hacky since this will result in 2</span><br></blockquote><blockquote type="cite"><span>redraw cycles for each undo. Perhaps only catching scalars may be a way</span><br></blockquote><blockquote type="cite"><span>to do this...</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>To reproduce the bug, use the attached patch, delete some objects in the</span><br></blockquote><blockquote type="cite"><span>subpatch, then undo and they will all disappear, leaving only patch</span><br></blockquote><blockquote type="cite"><span>cords and the gop rectangle.</span><br></blockquote><span></span><br><span>Thanks for tracking this down. I'll have a look tomorrow.</span><br><span></span><br><span>-Jonathan</span><br><span></span><br><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Best,</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Ico</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>--</span><br></blockquote><blockquote type="cite"><span>Ivica Ico Bukvic, D.M.A.</span><br></blockquote><blockquote type="cite"><span>Director, Creativity + Innovation</span><br></blockquote><blockquote type="cite"><span>Institute for Creativity, Arts, and Technology</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Virginia Tech</span><br></blockquote><blockquote type="cite"><span>Creative Technologies in Music</span><br></blockquote><blockquote type="cite"><span>School of Performing Arts – 0141</span><br></blockquote><blockquote type="cite"><span>Blacksburg, VA 24061</span><br></blockquote><blockquote type="cite"><span>(540) 231-6139</span><br></blockquote><blockquote type="cite"><span>ico@vt.edu</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>www.icat.vt.edu</span><br></blockquote><blockquote type="cite"><span>www.performingarts.vt.edu</span><br></blockquote><blockquote type="cite"><span>l2ork.icat.vt.edu</span><br></blockquote><blockquote type="cite"><span>ico.bukvic.net</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>_______________________________________________</span><br></blockquote><blockquote type="cite"><span>L2Ork-dev mailing list</span><br></blockquote><blockquote type="cite"><span>L2Ork-dev@disis.music.vt.edu</span><br></blockquote><blockquote type="cite"><span>https://disis.music.vt.edu/listinfo/l2ork-dev</span><br></blockquote><span>_______________________________________________</span><br><span>L2Ork-dev mailing list</span><br><span>L2Ork-dev@disis.music.vt.edu</span><br><span>https://disis.music.vt.edu/listinfo/l2ork-dev</span></div></blockquote></div></body></html>