From 768d4c6cfefe799f5c2307fcf5fc1f90492a843f Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Tue, 25 May 2021 12:14:43 +0200 Subject: Fix T88549: ID sorting tests. Forgot to initialize the ID types array... Weird though that this only failed on Windows! Thanks a lot to @deadpin for helping investigating this. --- source/blender/blenkernel/intern/lib_id_test.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/blenkernel/intern/lib_id_test.cc b/source/blender/blenkernel/intern/lib_id_test.cc index 9bfd19ae4d6..fbe4a15da1c 100644 --- a/source/blender/blenkernel/intern/lib_id_test.cc +++ b/source/blender/blenkernel/intern/lib_id_test.cc @@ -37,6 +37,7 @@ struct LibIDMainSortTestContext { static void test_lib_id_main_sort_init(LibIDMainSortTestContext *ctx) { + BKE_idtype_init(); ctx->bmain = BKE_main_new(); } -- cgit v1.2.3