From eec3c1a4994a2e653dc5d1eae8487b4e98035fc9 Mon Sep 17 00:00:00 2001 From: asl Date: Fri, 22 Jul 2005 03:25:55 +0000 Subject: [PATCH] *** empty log message *** --- src/OBJECT/SMESH_Actor.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/OBJECT/SMESH_Actor.cxx b/src/OBJECT/SMESH_Actor.cxx index a9877109f..9e3813870 100644 --- a/src/OBJECT/SMESH_Actor.cxx +++ b/src/OBJECT/SMESH_Actor.cxx @@ -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(); } -- 2.39.2