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.
This commit is contained in:
Bastien Montagne 2021-05-25 12:14:43 +02:00
parent 0a7bd3b6d2
commit 768d4c6cfe
Notes: blender-bot 2023-06-26 11:58:59 +02:00
Referenced by issue #88549, blenkernel id sorting tests fail on Windows
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ struct LibIDMainSortTestContext {
static void test_lib_id_main_sort_init(LibIDMainSortTestContext *ctx)
{
BKE_idtype_init();
ctx->bmain = BKE_main_new();
}