Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <bastien@blender.org>2021-05-25 13:14:43 +0300
committerBastien Montagne <bastien@blender.org>2021-05-25 13:16:24 +0300
commit768d4c6cfefe799f5c2307fcf5fc1f90492a843f (patch)
tree9d17b6d0b583a74884d6f27e28411521fd5f1bd7
parent0a7bd3b6d24a38ffa6678ef9c1d1854c6c6f27b9 (diff)
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.
-rw-r--r--source/blender/blenkernel/intern/lib_id_test.cc1
1 files changed, 1 insertions, 0 deletions
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();
}