Commit: dfd9e549eec03035a6fc80aee7e35943d6cdb34b
Author: Brecht Van Lommel
Date:   Mon Apr 16 15:14:11 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBdfd9e549eec03035a6fc80aee7e35943d6cdb34b

Fix build errors after recent depsgraph changes.

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

M       tests/gtests/alembic/abc_export_test.cc

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

diff --git a/tests/gtests/alembic/abc_export_test.cc 
b/tests/gtests/alembic/abc_export_test.cc
index b040f375221..3277e84fe42 100644
--- a/tests/gtests/alembic/abc_export_test.cc
+++ b/tests/gtests/alembic/abc_export_test.cc
@@ -18,7 +18,7 @@ public:
        TestableAbcExporter(Main *bmain, EvaluationContext *eval_ctx,
                            Scene *scene, ViewLayer *view_layer, Depsgraph 
*depsgraph,
                            const char *filename, ExportSettings &settings)
-           : AbcExporter(bmain, eval_ctx, scene, view_layer, depsgraph, 
filename, settings)
+           : AbcExporter(bmain, eval_ctx, scene, depsgraph, filename, settings)
        {
        }
 
@@ -57,8 +57,9 @@ protected:
                bmain = BKE_main_new();
 
                /* TODO(sergey): Pass scene layer somehow? */
+               ViewLayer *view_layer = (ViewLayer *)scene.view_layers.first;
                DEG_evaluation_context_init(&eval_ctx, DAG_EVAL_VIEWPORT);
-               depsgraph = DEG_graph_new();
+               depsgraph = DEG_graph_new(&scene, view_layer, 
DAG_EVAL_VIEWPORT);
 
                exporter = NULL;
        }

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to