mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-12 17:50:35 +05:00
Fix from EMV for some regressions on new bop
This commit is contained in:
parent
71ad3d7eba
commit
215bd2c8fc
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user