X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH_I%2FSMESH_2smeshpy.cxx;h=9526b75289a54631cc62e8407e938d85929646b8;hp=d3ecf4af4e5e6faec926c944143287f086716c42;hb=236b583d315b14278bda28e118748016d0e4f709;hpb=7ba3124c8a4ba32308bbc40957ee9246374aa590 diff --git a/src/SMESH_I/SMESH_2smeshpy.cxx b/src/SMESH_I/SMESH_2smeshpy.cxx index d3ecf4af4..9526b7528 100644 --- a/src/SMESH_I/SMESH_2smeshpy.cxx +++ b/src/SMESH_I/SMESH_2smeshpy.cxx @@ -701,6 +701,11 @@ Handle(_pyHypothesis) _pyHypothesis::NewHypothesis( const Handle(_pyCommand)& th algo->myDim = 2; algo->myCreationMethod = "Quadrangle"; } + else if ( hypType == "QuadranglePreference" ) { + hyp->myDim = 2; + hyp->myCreationMethod = "QuadranglePreference"; + hyp->myType = "MEFISTO_2D"; + } // 3D ---------- else if ( hypType == "NETGEN_3D") { algo->myDim = 3;