View Single Post
Old 11-05-2018, 04:00 PM   #323
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,280
Default

God... I feel really dumb.

I'm working on porting Radial Menu to the current GUI version so I can actually update it, and ran into a crash that also happens in GUI Builder.

I knew that it was because the script was running out of graphics buffers internally, but it confused me because there's always been code to specifically free them up as elements are deleted.

...or at least, it would have been doing that if that code was being run. One little typo, not even enough to cause problems on its own, was allowing the GUI to happily skip right over that logic.

TL;DR Small update, should fix issues with scripts crashing if they create/delete too many elements. The GUI will now also explicitly tell you (in the crash report) if it fails because there weren't any more buffers.
Lokasenna is online now   Reply With Quote