bool isPrecise = false;
if ( nbFaces < maxNbFaces )
try {
+ OCC_CATCH_SIGNALS;
GEOMUtils::PreciseBoundingBox( aShape, Box );
isPrecise = true;
}
if ( !GetMeshDS()->IsUsedHypothesis( hyp ))
return;
- if (_callUp)
- _callUp->HypothesisModified();
+ if (_callUp && hyp)
+ _callUp->HypothesisModified( hyp->GetID() );
SMESH_Algo *algo;
const SMESH_HypoFilter* compatibleHypoKind;
if ( NbNodes() == 0 )
return false;
- if ( !HasShapeToMesh() )
- return true;
+ // if ( !HasShapeToMesh() )
+ // return true;
if ( SMESH_subMesh* mainSM = GetSubMeshContaining( 1 ))
{
cmd += "from medutilities import my_remove ; my_remove(r'" + medfilename + "')";
cmd += "\"";
system(cmd.c_str());
- ExportMED(medfilename.c_str(), theMeshName, theAutoGroups,
+ ExportMED(medfilename.c_str(), theMeshName, theAutoGroups, /*minor=*/-1,
/*meshPart=*/NULL, /*theAutoDimension=*/false, /*theAddODOnVertices=*/false,
/*theAllElemsToGroup=*/true ); // theAllElemsToGroup is for PAL0023413
#ifdef WIN32