[Bf-blender-cvs] [2f9073adb14] master: Fix missing IDType init in ViewLayer tests.

Bastien Montagne noreply at git.blender.org
Mon Jan 11 16:50:18 CET 2021


Commit: 2f9073adb140e05e0b202d237354a1bbe9d66c69
Author: Bastien Montagne
Date:   Mon Jan 11 16:05:23 2021 +0100
Branches: master
https://developer.blender.org/rB2f9073adb140e05e0b202d237354a1bbe9d66c69

Fix missing IDType init in ViewLayer tests.

Kinda miracle this did not cause problems so far, but was breaking tests
with some upcoming changes.

===================================================================

M	source/blender/blenkernel/intern/layer_test.cc

===================================================================

diff --git a/source/blender/blenkernel/intern/layer_test.cc b/source/blender/blenkernel/intern/layer_test.cc
index e241c12d714..c918c0cab67 100644
--- a/source/blender/blenkernel/intern/layer_test.cc
+++ b/source/blender/blenkernel/intern/layer_test.cc
@@ -39,6 +39,7 @@ TEST(view_layer, aov_unique_names)
 {
   /* Set Up */
   CLG_init();
+  BKE_idtype_init();
   BKE_appdir_init();
   IMB_init();
   RE_engines_init();



More information about the Bf-blender-cvs mailing list