diff options
Diffstat (limited to 'tests/gtests/alembic')
-rw-r--r-- | tests/gtests/alembic/abc_export_test.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/gtests/alembic/abc_export_test.cc b/tests/gtests/alembic/abc_export_test.cc index 2e4d95f6f60..b040f375221 100644 --- a/tests/gtests/alembic/abc_export_test.cc +++ b/tests/gtests/alembic/abc_export_test.cc @@ -16,9 +16,9 @@ extern "C" { class TestableAbcExporter : public AbcExporter { public: TestableAbcExporter(Main *bmain, EvaluationContext *eval_ctx, - Scene *scene, SceneLayer *scene_layer, Depsgraph *depsgraph, + Scene *scene, ViewLayer *view_layer, Depsgraph *depsgraph, const char *filename, ExportSettings &settings) - : AbcExporter(bmain, eval_ctx, scene, scene_layer, depsgraph, filename, settings) + : AbcExporter(bmain, eval_ctx, scene, view_layer, depsgraph, filename, settings) { } @@ -73,8 +73,8 @@ protected: // Call after setting up the settings. void createExporter() { - SceneLayer *scene_layer = (SceneLayer *)scene.render_layers.first; - exporter = new TestableAbcExporter(bmain, &eval_ctx, &scene, scene_layer, depsgraph, "somefile.abc", settings); + ViewLayer *view_layer = (ViewLayer *)scene.view_layers.first; + exporter = new TestableAbcExporter(bmain, &eval_ctx, &scene, view_layer, depsgraph, "somefile.abc", settings); } }; |