Salome HOME
23338: [CEA 1943] Regression on the quality of the meshes obtained by CADSurf
authoreap <eap@opencascade.com>
Wed, 7 Sep 2016 14:57:44 +0000 (17:57 +0300)
committereap <eap@opencascade.com>
Wed, 7 Sep 2016 14:57:44 +0000 (17:57 +0300)
  Re-activate Gradation by default

src/BLSURFPlugin/BLSURFPlugin_Hypothesis.hxx

index 70a97abb000e77f95c4c62d0e7dab0a6e80367fd..b8302b7b8536ddd41f25a8ff3b33b723ddfcde73 100644 (file)
@@ -407,9 +407,9 @@ public:
   static double          GetDefaultMaxSize(double diagonal);
   static double          GetDefaultMaxSize() { return undefinedDouble(); }
   static bool            GetDefaultMaxSizeRel() { return false; }
-  static bool            GetDefaultUseGradation() { return false; }
+  static bool            GetDefaultUseGradation() { return true; }
   static double          GetDefaultGradation() { return 1.3; }
-  static bool            GetDefaultUseVolumeGradation() { return false; }
+  static bool            GetDefaultUseVolumeGradation() { return true; }
   static double          GetDefaultVolumeGradation() { return 2; }
   static bool            GetDefaultQuadAllowed() { return false; }
   static double          GetDefaultAngleMesh() { return 8.0; }