diff Framework/Radiography/RadiographyScene.cpp @ 431:26b90b110719 am-vsol-upgrade

added DelayedCallExecutor to avoid using sleep() in C++ that consumes 100% CPU once executed in WASM
author am@osimis.io
date Thu, 29 Nov 2018 19:25:15 +0100
parents b85f635f1eb5
children 4eb96c6b4e96
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyScene.cpp	Thu Nov 29 15:11:19 2018 +0100
+++ b/Framework/Radiography/RadiographyScene.cpp	Thu Nov 29 19:25:15 2018 +0100
@@ -423,7 +423,7 @@
                                 const AffineTransform2D& viewTransform,
                                 ImageInterpolation interpolation) const
   {
-    Orthanc::ImageProcessing::Set(buffer, 0); // TODO: get background color (depending on inverted state)
+    Orthanc::ImageProcessing::Set(buffer, 0);
 
     // Render layers in the background-to-foreground order
     for (size_t index = 0; index < countLayers_; index++)