Blender Git Commit Log

Git Commits -> Revision c473b2c

Revision c473b2c by Hans Goudey (master)
November 5, 2021, 16:19 (GMT)
Fix part of T89313: Attribute search crash during animation playback

During animation playback, data-blocks are reallocated, so storing
pointers to the resulting data is not okay. Instead, the data should
be retrieved from the context. This works when the applied search
item is the "dummy" item added for non-matches. However, it still
crashes for every other item, because the memory is owned by the
modifier value log, which has been freed by the time the exec function
runs.

The next part of the solution is to allow uiSearchItems
to own memory for the search items.

Commit Details:

Full Hash: c473b2ce8bdbf8fa42d9780de035d34cb8d0e8a5
Parent Commit: 594ee5f
Lines Changed: +79, -33

3 Modified Paths:

/source/blender/blenkernel/BKE_lib_id.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/lib_id.c (+14, -0) (Diff)
/source/blender/modifiers/intern/MOD_nodes.cc (+64, -32) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021