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