mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-13 02:00: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()) {
|
}// for (; aIt.More(); aIt.Next()) {
|
||||||
//
|
//
|
||||||
|
aMx.Clear();
|
||||||
|
BOPTools::MapShapes(aC, aMx);
|
||||||
// 2. Add them to aC
|
// 2. Add them to aC
|
||||||
aIt.Initialize(aLSP);
|
aIt.Initialize(aLSP);
|
||||||
for (; aIt.More(); aIt.Next()) {
|
for (; aIt.More(); aIt.Next()) {
|
||||||
@ -251,16 +253,20 @@ void GEOMAlgo_Splitter::PostTreat()
|
|||||||
for (; aItIm.More(); aItIm.Next()) {
|
for (; aItIm.More(); aItIm.Next()) {
|
||||||
const TopoDS_Shape& aSIm=aItIm.Value();
|
const TopoDS_Shape& aSIm=aItIm.Value();
|
||||||
if (aM.Add(aSIm)) {
|
if (aM.Add(aSIm)) {
|
||||||
|
if (!aMx.Contains(aSIm)) {
|
||||||
aBB.Add(aC, aSIm);
|
aBB.Add(aC, aSIm);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
if (aM.Add(aS)) {
|
if (aM.Add(aS)) {
|
||||||
|
if (!aMx.Contains(aS)) {
|
||||||
aBB.Add(aC, aS);
|
aBB.Add(aC, aS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}// if (myLimitMode) {
|
}// if (myLimitMode) {
|
||||||
myShape=aC;
|
myShape=aC;
|
||||||
}//if (myLimit!=TopAbs_SHAPE) {
|
}//if (myLimit!=TopAbs_SHAPE) {
|
||||||
|
Loading…
Reference in New Issue
Block a user