Page MenuHome

Fix T95256: Crash when creating off-screen pose asset
ClosedPublic

Authored by Sybren A. Stüvel (sybren) on Mar 7 2022, 4:46 PM.

Details

Summary

Fix crash when creating a pose asset for which the file list entry in
the asset browser is scrolled off-screen. Because of the
off-screen-ness, it wasn't loaded into memory, which eventually caused
an unexpected NULL pointer.

The solution was to use a different function (filelist_file_find_id)
that can reliably find the file list entry, after which the cache entry
can be created.

Diff Detail

Repository
rB Blender