]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
bug 13314
authorabd <abd@opencascade.com>
Wed, 1 Nov 2006 14:28:47 +0000 (14:28 +0000)
committerabd <abd@opencascade.com>
Wed, 1 Nov 2006 14:28:47 +0000 (14:28 +0000)
Correct min value

src/OBJECT/SMESH_Actor.cxx

index 114a9549b6e951e77f574ff8fcd14bc2607f9a07..40bf343feb92bcd946f16801e9e1239612cfa87d 100644 (file)
@@ -286,6 +286,10 @@ SMESH_ActorDef::SMESH_ActorDef()
   myScalarBarActor->SetVisibility(false);
   myScalarBarActor->SetLookupTable(myLookupTable);
 
+  //Fix for Bug 13314:
+  //Incorrect "Min value" in Scalar Bar in Mesh:
+  myScalarBarActor->SetLabelFormat("%.4g");
+
   mgr = SUIT_Session::session()->resourceMgr();
   if( !mgr )
     return;