]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
Always use PreCAD if a PreCAD option has been set, don't matter if topology has been...
authorbourcier <bourcier>
Mon, 21 Oct 2013 10:26:30 +0000 (10:26 +0000)
committerbourcier <bourcier>
Mon, 21 Oct 2013 10:26:30 +0000 (10:26 +0000)
src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx

index d2b92e6c76275776fdf613d9166e0a65291e79e7..0c7058af1d9c2ca2a5d9ba1f4bd01579702dffbd 100644 (file)
@@ -1010,10 +1010,9 @@ void BLSURFPlugin_BLSURF::SetParameters(
     const BLSURFPlugin_Hypothesis::TOptionValues & preCADopts = hyp->GetPreCADOptionValues();
     for ( opIt = preCADopts.begin(); opIt != preCADopts.end(); ++opIt )
       if ( !opIt->second.empty() ) {
-        if (_topology == BLSURFPlugin_Hypothesis::PreCAD) {
-          MESSAGE("precad_set_param(): " << opIt->first << " = " << opIt->second);
-          precad_set_param(pcs, opIt->first.c_str(), opIt->second.c_str());
-        }
+        *use_precad = true;
+        MESSAGE("precad_set_param(): " << opIt->first << " = " << opIt->second);
+        precad_set_param(pcs, opIt->first.c_str(), opIt->second.c_str());
       }
   }
 //   else {