]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
#20185 Wrong option in automatic hypotheses V9_6_0b1
authoreap <eap@opencascade.com>
Mon, 12 Oct 2020 09:49:24 +0000 (12:49 +0300)
committereap <eap@opencascade.com>
Mon, 12 Oct 2020 09:49:24 +0000 (12:49 +0300)
src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx

index 7c6ea55bd348e54e5dcb27a8042a9f67e6bec65c..a15a1e8f3a62bb8702361e3c4f7c2bbbe6a90ffe 100644 (file)
@@ -3621,7 +3621,7 @@ bool BLSURFPlugin_Hypothesis::SetParametersByDefaults(const TDefaults&  dflts,
     _minSize      = dflts._elemLength / 100.;
     _maxSize      = dflts._elemLength * 2.;
     _chordalError = dflts._elemLength / 2.;
-    _elementType  = dflts._quadDominated ? Quadrangles : Triangles;
+    _elementType  = dflts._quadDominated ? QuadrangleDominant : Triangles;
     _physicalMesh = PhysicalLocalSize; // to activate _enforcedInternalVerticesAllFaces
     _enforcedInternalVerticesAllFaces = true;
   }