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:
Diffstat (limited to 'source/blender/io/alembic/tests/abc_export_test.cc')
-rw-r--r--source/blender/io/alembic/tests/abc_export_test.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/io/alembic/tests/abc_export_test.cc b/source/blender/io/alembic/tests/abc_export_test.cc
index 5c2b505958e..c602868b07e 100644
--- a/source/blender/io/alembic/tests/abc_export_test.cc
+++ b/source/blender/io/alembic/tests/abc_export_test.cc
@@ -36,6 +36,8 @@ class AlembicExportTest : public testing::Test {
bmain = BKE_main_new();
+ DEG_register_node_types();
+
/* TODO(sergey): Pass scene layer somehow? */
ViewLayer *view_layer = (ViewLayer *)scene.view_layers.first;
depsgraph = DEG_graph_new(bmain, &scene, view_layer, DAG_EVAL_RENDER);
@@ -45,6 +47,7 @@ class AlembicExportTest : public testing::Test {
{
BKE_main_free(bmain);
DEG_graph_free(depsgraph);
+ DEG_free_node_types();
deleteArchive();
}