Salome HOME
*** empty log message ***
[modules/smesh.git] / src / OBJECT / SMESH_Actor.cxx
index a9877109f7895952d34e856bb6a4aec1ad606aa0..9e381387095f41a3b1bb4de91dc9f968126cc84d 100644 (file)
@@ -850,7 +850,7 @@ bool SMESH_ActorDef::Init(TVisualObjPtr theVisualObj,
   if( !mgr )
     return false;
 
-  QString aMode = mgr->stringValue( "DisplayMode", "SMESH" );
+  QString aMode = mgr->stringValue( "SMESH", "display_mode" );
   SetRepresentation(-1);
   
   if(aMode.compare("Wireframe") == 0){
@@ -861,8 +861,7 @@ bool SMESH_ActorDef::Init(TVisualObjPtr theVisualObj,
     SetRepresentation(ePoint);
   }
   
-  aMode = mgr->stringValue( "Shrink", "SMESH" );
-  if(aMode == "yes"){
+  if(aMode == "Shrink"){
     SetShrink();
   }