[L2Ork-dev] GOP redraw bug

Jonathan Wilkes jon.w.wilkes at gmail.com
Fri Jun 5 00:28:29 EDT 2020


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


More information about the L2Ork-dev mailing list