Fix from EMV for some regressions on new bop

This commit is contained in:
vsr 2012-12-18 08:29:02 +00:00
parent 71ad3d7eba
commit 215bd2c8fc

View File

@ -241,6 +241,8 @@ void GEOMAlgo_Splitter::PostTreat()
}
}// for (; aIt.More(); aIt.Next()) {
//
aMx.Clear();
BOPTools::MapShapes(aC, aMx);
// 2. Add them to aC
aIt.Initialize(aLSP);
for (; aIt.More(); aIt.Next()) {
@ -251,16 +253,20 @@ void GEOMAlgo_Splitter::PostTreat()
for (; aItIm.More(); aItIm.Next()) {
const TopoDS_Shape& aSIm=aItIm.Value();
if (aM.Add(aSIm)) {
if (!aMx.Contains(aSIm)) {
aBB.Add(aC, aSIm);
}
}
}
}
else {
if (aM.Add(aS)) {
if (!aMx.Contains(aS)) {
aBB.Add(aC, aS);
}
}
}
}
}// if (myLimitMode) {
myShape=aC;
}//if (myLimit!=TopAbs_SHAPE) {