hoffstadt / hoffstadt/DearPyGui
DPG crashes when swapping animated GIF data into a dynamic texture that initially held static PNG data
- Dominant language
- C++
- Stars
- 15.6k
- Forks
- 783
- PR merge metrics
- No merged PRs in 30d
Description
## Version of Dear PyGui
Version: 0.8.57
Operating System: Windows 10
## My Issue/Question
If you load a static PNG into a dynamic texture and then swap the data out for an animated GIF, it crashes the app instantly down in the ImGui bowels.
## To Reproduce
Steps to reproduce the behavior:
1. Run the attached project
2. Click the 'Load Animated PNG' button
3. Click the 'Load Static PNG' button
## Expected behavior
Texture swaps out, image updates
## Screenshots/Video
https://user-images.githubusercontent.com/14815901/131237969-c62b818d-3698-4875-9506-dedbd9d67961.mp4
## Standalone, minimal, complete and verifiable example
Attached
[temp.repro.zip](https://github.com/hoffstadt/DearPyGui/files/7071884/temp.repro.zip)
Contributor guide
Assessment
This issue has not been assessed yet.