Salome HOME
0022014: [CEA 733] "SetMinSize" has no effect on edges size on arcs
authoreap <eap@opencascade.com>
Tue, 18 Dec 2012 11:41:03 +0000 (11:41 +0000)
committereap <eap@opencascade.com>
Tue, 18 Dec 2012 11:41:03 +0000 (11:41 +0000)
src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx

index 528a51e0a02d0ad9fe4c69e8f8e7082b6c2f8de5..455ef9447f5ba39dabce9b3b5cae610b8f95812b 100644 (file)
@@ -846,8 +846,8 @@ void BLSURFPlugin_BLSURF::SetParameters(
        cadsurf_set_param(css, "geometric_size_mode", "none");
    }
 
-   cadsurf_set_param(css, "minsize",                           _minSizeRel ? to_string_rel(_minSize).c_str() : to_string(_minSize).c_str());
-   cadsurf_set_param(css, "maxsize",                           _maxSizeRel ? to_string_rel(_maxSize).c_str() : to_string(_maxSize).c_str());
+   cadsurf_set_param(css, "min_size",                           _minSizeRel ? to_string_rel(_minSize).c_str() : to_string(_minSize).c_str());
+   cadsurf_set_param(css, "max_size",                           _maxSizeRel ? to_string_rel(_maxSize).c_str() : to_string(_maxSize).c_str());
    if ( useGradation )
      cadsurf_set_param(css, "gradation",                         to_string(_gradation).c_str());
    cadsurf_set_param(css, "element_generation",                _quadAllowed ? "quad_dominant" : "triangle");