From 937bd49e9e9379e38dbf0b9dad1249877486073a Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Wed, 19 Sep 2018 15:32:24 +0200 Subject: [PATCH] #3343 Holo Lens : Use currentScene --- .../Commands/HoloLensCommands/RicHoloLensExportImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationCode/Commands/HoloLensCommands/RicHoloLensExportImpl.cpp b/ApplicationCode/Commands/HoloLensCommands/RicHoloLensExportImpl.cpp index 8506431ee5..da62fe9f7b 100644 --- a/ApplicationCode/Commands/HoloLensCommands/RicHoloLensExportImpl.cpp +++ b/ApplicationCode/Commands/HoloLensCommands/RicHoloLensExportImpl.cpp @@ -79,7 +79,7 @@ std::vector RicHoloLensExportImpl::partsForExport(const RimGridVi if (view.viewer()) { - cvf::Scene* scene = view.viewer()->mainScene(); + cvf::Scene* scene = view.viewer()->currentScene(); if (scene) { cvf::Collection sceneParts;