Salome HOME
0020556: EDF 1145 SMESH : Dump QuadranglePreference NO_OK
authordmv <dmv@opencascade.com>
Wed, 28 Oct 2009 08:13:41 +0000 (08:13 +0000)
committerdmv <dmv@opencascade.com>
Wed, 28 Oct 2009 08:13:41 +0000 (08:13 +0000)
src/SMESH_I/SMESH_2smeshpy.cxx

index aca8d4165299574b4204fe6c7c44352a27786965..d6088703f55c7feee4890ec1a35ad77dac94a410 100644 (file)
@@ -1077,7 +1077,7 @@ Handle(_pyHypothesis) _pyHypothesis::NewHypothesis( const Handle(_pyCommand)& th
   }
   else if ( hypType == "QuadranglePreference" ) {
     hyp->SetConvMethodAndType( "QuadranglePreference", "Quadrangle_2D");
-    hyp->SetConvMethodAndType( "QuadranglePreference", "NETGEN_2D_ONLY");
+    hyp->SetConvMethodAndType( "SetQuadAllowed", "NETGEN_2D_ONLY");
   }
   else if ( hypType == "TrianglePreference" ) {
     hyp->SetConvMethodAndType( "TrianglePreference", "Quadrangle_2D");