Closed svenvvv closed 3 years ago
github closes issues when I write "does not fix NN" into the commit message))
Could not reproduce any segfaults with QImageReader. Currently PackerWindow (or rather PyTexturePacker) still uses PIL for image loading and thus can fault.
A bit stumped on how to fix it. Either fork PyTexturePacker or write our own. Probably going to fork.
Replaced PIL with a custom QImage based wrapper that implements the minimal PIL.Image functionality required by PyTexturePacker. Could revisit in the future when I have the will to compile Qt with debugging symbols and figure out the root cause of it :)
Maybe related to PIL, since I never had one before f3422d719899020adffa859575f227822b9443b0.
Can reproduce by loading a multi-spritesheet document and rapidly changing spritesheets (which causes image loads in background, as we don't cache the loaded images).