From: ouv Date: Mon, 15 Aug 2005 06:09:14 +0000 (+0000) Subject: setting the size of trihedron corrected X-Git-Tag: BR-D5-38-2003_D2005-12-09~58 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=81375781b6825907f582dc943d698a2572158dc3;p=modules%2Fgui.git setting the size of trihedron corrected --- 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);