diff Framework/Scene2DViewport/MeasureToolsToolbox.cpp @ 1018:58eed6bbcabb

fix warnings
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 26 Sep 2019 09:22:27 +0200
parents 52b1c6ff10c5
children f6be9412e42a
line wrap: on
line diff
--- a/Framework/Scene2DViewport/MeasureToolsToolbox.cpp	Thu Sep 26 09:16:21 2019 +0200
+++ b/Framework/Scene2DViewport/MeasureToolsToolbox.cpp	Thu Sep 26 09:22:27 2019 +0200
@@ -337,10 +337,6 @@
     , ScenePoint2D p
     , int layerIndex)
   {
-    // get the scaling factor 
-    const double pixelToScene =
-      scene.GetCanvasToSceneTransform().ComputeZoom();
-
     TextSceneLayer* textLayer = layerHolder->GetTextLayer(layerIndex);
     ORTHANC_ASSERT(textLayer != NULL);
     textLayer->SetText(text);