- User Since
- Dec 20 2009, 11:39 AM (566 w, 2 d)
Jul 12 2020
I found that after reloading it sometimes stops crashing. In that case deleting the original import object with the MeshSequenceCache and creating a new one seems to repro the crash again. This makes me think it may depend on the arbitrary order of objects in blend data lists.
Jun 8 2020
And i can confirm that setting user-defined icon pixels does in fact work, like so:
I was hoping to have found a workaround in the Image.preview.is_icon_custom setting, which supposedly lets me define custom pixel data and/or just tag the preview as user-defined.
After a bit more digging into it i can confirm that the icon preview job is freeing ImBuf rect data at the same time that the Image.pixels API function is trying to write to it:
Jun 7 2020
I have a feeling the icon preview is creating a race condition with the image buffer. Debug log output always seems to have a "Job 'Icon Preview' finished in 0.121422 seconds" right before crashing.
If anyone is curious: this comes from an experiment to build a virtual radio interferometer (WIP): https://github.com/lukas-toenne/observatory