tornavis/source
Julian Eisel cd818fd081 Assets: Sanitize threaded preview creation with undo
Basically, this fixes disappearing previews when editing asset metadata
or performing undo/redo actions.

The preview generation in a background job will eventually modify ID
data, but the undo push was done prior to that. So obviously, an undo
then would mean the preview is lost.

This patch makes it so undo/redo will regenerate the preview, if the preview
rendering was invoked but not finished in the undone/redone state.

The preview flag PRV_UNFINISHED wasn't entirely what we needed. So I had to
change it to a slightly different flag, with different semantics.
2021-11-24 11:20:35 +01:00
..
blender Assets: Sanitize threaded preview creation with undo 2021-11-24 11:20:35 +01:00
creator Fix install paths for blender thumbnailer when not building a portable install 2021-10-28 21:13:47 +02:00
tools@b22d19e47f Cleanup: Correct copy paste error in comment 2021-11-16 17:49:51 -05:00
CMakeLists.txt