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:
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
|
@ -37,6 +37,7 @@ struct LibIDMainSortTestContext {
|
|||
|
||||
static void test_lib_id_main_sort_init(LibIDMainSortTestContext *ctx)
|
||||
{
|
||||
BKE_idtype_init();
|
||||
ctx->bmain = BKE_main_new();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue