]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
setting the size of trihedron corrected
authorouv <ouv@opencascade.com>
Mon, 15 Aug 2005 06:09:14 +0000 (06:09 +0000)
committerouv <ouv@opencascade.com>
Mon, 15 Aug 2005 06:09:14 +0000 (06:09 +0000)
src/SVTK/SVTK_RenderWindow.cxx

index 4d64c2d054fb713ab17f39fcbf84be2df277ccf6..9b0666dcede3a91659c03f0f61c1c8bb798285cb 100644 (file)
@@ -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);