mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-05 18:24:18 +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) {
|
if (isFound) {
|
||||||
TopoDS_Shape anOutSh_i;
|
TopoDS_Shape anOutSh_i;
|
||||||
SuppressFacesRec(theShapesFaces, aShape_i, anOutSh_i);
|
SuppressFacesRec(theShapesFaces, aShape_i, anOutSh_i);
|
||||||
BB.Add(CC, anOutSh_i);
|
if ( !anOutSh_i.IsNull() )
|
||||||
|
BB.Add(CC, anOutSh_i);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// nothing to do
|
// nothing to do
|
||||||
|
Loading…
Reference in New Issue
Block a user