From 81375781b6825907f582dc943d698a2572158dc3 Mon Sep 17 00:00:00 2001 From: ouv Date: Mon, 15 Aug 2005 06:09:14 +0000 Subject: [PATCH] setting the size of trihedron corrected --- src/SVTK/SVTK_RenderWindow.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/SVTK/SVTK_RenderWindow.cxx b/src/SVTK/SVTK_RenderWindow.cxx index 4d64c2d05..9b0666dce 100644 --- a/src/SVTK/SVTK_RenderWindow.cxx +++ b/src/SVTK/SVTK_RenderWindow.cxx @@ -587,8 +587,7 @@ SVTK_RenderWindow if(aCDisplayed) myCubeAxes->VisibilityOff(); SUIT_ResourceMgr* aResMgr = SUIT_Session::session()->resourceMgr(); - QString aSetting = aResMgr->stringValue("Viewer:TrihedronSize", "105"); - static float aSizeInPercents = aSetting.toFloat(); + static float aSizeInPercents = aResMgr->doubleValue("VTKViewer","trihedron_size", 105); //bool isComputeTrihedronSize = ::ComputeTrihedronSize(myRenderer, aNewSize, anOldSize, aSizeInPercents); -- 2.39.2