mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-03-27 18:28:36 +05:00
IPAL21657 Suppress Faces - attempt to access to null object
This commit is contained in:
parent
3f167acb79
commit
a9ae3002a0
@ -226,6 +226,7 @@ void SuppressFacesRec (const TopTools_SequenceOfShape& theShapesFaces,
|
|||||||
if (isFound) {
|
if (isFound) {
|
||||||
TopoDS_Shape anOutSh_i;
|
TopoDS_Shape anOutSh_i;
|
||||||
SuppressFacesRec(theShapesFaces, aShape_i, anOutSh_i);
|
SuppressFacesRec(theShapesFaces, aShape_i, anOutSh_i);
|
||||||
|
if ( !anOutSh_i.IsNull() )
|
||||||
BB.Add(CC, anOutSh_i);
|
BB.Add(CC, anOutSh_i);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user