diff options
author | Bastien Montagne <bastien@blender.org> | 2022-07-11 20:09:56 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-07-11 20:16:04 +0300 |
commit | 2a1d12d7a0edd7ecffda3c5e1bf5c3b512976bbb (patch) | |
tree | 2a83a01684e1e4ecd8a06c1c5182356cb4ad9ba5 /source/blender/windowmanager | |
parent | 995c904d00e1e0713a1549ca16b2775a9dcdd281 (diff) |
Fix (studio-reported) crash in ID remapping code on rare cases.
Some ID types did not have a filter value, even though they would be
used in remapping code, leading to missing remappings. In that specific
case, shape keys would actually never be properly remapped.
Reproducible in r1230 of
`Heist/pro/animation_test/einar/einar_new_expression_shapes2.blend`,
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm.c b/source/blender/windowmanager/intern/wm.c index 32cec8f779c..0d74bc259f4 100644 --- a/source/blender/windowmanager/intern/wm.c +++ b/source/blender/windowmanager/intern/wm.c @@ -257,7 +257,7 @@ static void window_manager_blend_read_lib(BlendLibReader *reader, ID *id) IDTypeInfo IDType_ID_WM = { .id_code = ID_WM, - .id_filter = 0, + .id_filter = FILTER_ID_WM, .main_listbase_index = INDEX_ID_WM, .struct_size = sizeof(wmWindowManager), .name = "WindowManager", |