[L2Ork-dev] GOP redraw bug

Danny Imson dannyimson at gmail.com
Fri Jun 5 01:04:14 EDT 2020


Hello, 

Apologies. I think it’s a mistake I’m in this thread. 

(Sent from my iPhone)
Warm regards,
Danny Imson, Composition and Music Technology 
School of the Arts Singapore 

> On 5 Jun 2020, at 12:28 PM, Jonathan Wilkes <jon.w.wilkes at gmail.com> wrote:
> 
> On Thu, Jun 4, 2020 at 11:13 PM Ivica Ico Bukvic <ico at vt.edu> wrote:
>> 
>> So, I tracked this problem down to the g_graph.c line 960 where
>> graph_vis 0 deletes all glist objects inside gop regardless whether they
>> are scalars or not and when graph_vis 1 is called it does not do
>> anything to the subwindow but only its representation on the parent
>> window. When commented out, this fixes the problem but likely breaks the
>> scalars. So, now I need to track if there is a way for glist to report
>> whether it has any scalars and if so, to delete and redraw them as part
>> of the graph_vis. This is all kind of hacky since this will result in 2
>> redraw cycles for each undo. Perhaps only catching scalars may be a way
>> to do this...
>> 
>> To reproduce the bug, use the attached patch, delete some objects in the
>> subpatch, then undo and they will all disappear, leaving only patch
>> cords and the gop rectangle.
> 
> Thanks for tracking this down. I'll have a look tomorrow.
> 
> -Jonathan
> 
>> 
>> Best,
>> 
>> Ico
>> 
>> --
>> Ivica Ico Bukvic, D.M.A.
>> Director, Creativity + Innovation
>> Institute for Creativity, Arts, and Technology
>> 
>> Virginia Tech
>> Creative Technologies in Music
>> School of Performing Arts – 0141
>> Blacksburg, VA 24061
>> (540) 231-6139
>> ico at vt.edu
>> 
>> www.icat.vt.edu
>> www.performingarts.vt.edu
>> l2ork.icat.vt.edu
>> ico.bukvic.net
>> 
>> _______________________________________________
>> L2Ork-dev mailing list
>> L2Ork-dev at disis.music.vt.edu
>> https://disis.music.vt.edu/listinfo/l2ork-dev
> _______________________________________________
> L2Ork-dev mailing list
> L2Ork-dev at disis.music.vt.edu
> https://disis.music.vt.edu/listinfo/l2ork-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://disis.music.vt.edu/pipermail/l2ork-dev/attachments/20200605/6cdaa7c0/attachment.html>


More information about the L2Ork-dev mailing list