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;
{
TPosInList smPos = find( smBeg, smEnd, smVec[i] );
if ( smPos != smEnd ) {
- onlyOrderedList.push_back( smVec[i] );
sortedPos[ distance( smBeg, smPos )] = smPos;
+ if ( sortedPos.size() > onlyOrderedList.size() )
+ onlyOrderedList.push_back( smVec[i] );
}
}
}