diff Framework/Viewport/WidgetViewport.cpp @ 318:3a4ca166fafa am-2

ImageAccessor refactoring + implemented Image Cache in SmartLoader
author am@osimis.io
date Mon, 08 Oct 2018 17:10:08 +0200
parents 8a86695fcbc3
children 8716176ff7f0
line wrap: on
line diff
--- a/Framework/Viewport/WidgetViewport.cpp	Fri Oct 05 11:57:36 2018 +0200
+++ b/Framework/Viewport/WidgetViewport.cpp	Mon Oct 08 17:10:08 2018 +0200
@@ -108,7 +108,8 @@
       return false;
     }
     
-    Orthanc::ImageAccessor background = background_.GetAccessor();
+    Orthanc::ImageAccessor background;
+    background_.GetAccessor(background);
 
     if (backgroundChanged_ &&
         !centralWidget_->Render(background))