Salome HOME
Remove last wrong commits.
[modules/smesh.git] / src / StdMeshersGUI / StdMeshersGUI_StdHypothesisCreator.cxx
index 904f0bbd73e2a63deeb85b9d5444a1dda4d51e9d..891b2c0c86170a4fdc62f383ba55a3eb9d44303d 100644 (file)
@@ -609,8 +609,6 @@ QString StdMeshersGUI_StdHypothesisCreator::storeParams() const
       h->SetMaxSize( params[1].myValue.toDouble() );
       h->SetVarParameter( params[0].text(), "SetDeflection" );
       h->SetDeflection( params[2].myValue.toDouble() );
-      h->SetVarParameter( params[0].text(), "SetGrading" );
-      h->SetGrading( params[3].myValue.toDouble() );
     }
     else if( hypType()=="AutomaticLength" )
     {
@@ -1050,11 +1048,6 @@ bool StdMeshersGUI_StdHypothesisCreator::stdParams( ListOfStdParams& p ) const
     if(!initVariableName( hyp, item, "SetDeflection" )) 
       item.myValue = h->GetDeflection();
     p.append( item );
-
-    item.myName = tr( "SMESH_GRADING1D_PARAM" );
-    if(!initVariableName( hyp, item, "SetGrading" ))
-      item.myValue = h->GetGrading();
-    p.append( item );
   }
   else if( hypType()=="AutomaticLength" )
   {
@@ -1428,10 +1421,7 @@ void StdMeshersGUI_StdHypothesisCreator::attuneStdWidget (QWidget* w, const int)
     }
     else if( hypType()=="Adaptive1D" )
     {
-      if (sb->objectName() == tr("SMESH_GRADING1D_PARAM"))
-        sb->RangeStepAndValidator( 0.0, 2.0, 0.1, "length_precision" );
-      else
-        sb->RangeStepAndValidator( VALUE_SMALL, VALUE_MAX, 1.0, "length_precision" );
+      sb->RangeStepAndValidator( VALUE_SMALL, VALUE_MAX, 1.0, "length_precision" );
     }
     else if( hypType().startsWith( "ViscousLayers" ))
     {