From: bourcier Date: Mon, 21 Oct 2013 10:26:30 +0000 (+0000) Subject: Always use PreCAD if a PreCAD option has been set, don't matter if topology has been... X-Git-Tag: V7_3_0a1~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=dc4d86a7ae7f56f10e664269c27350f5a175ba9a;p=plugins%2Fblsurfplugin.git Always use PreCAD if a PreCAD option has been set, don't matter if topology has been set to PreCAD. --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index d2b92e6..0c7058a 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -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 {