mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-28 07:50:32 +05:00
IPAL22905: TC650: Projection on face dialog problems
This commit is contained in:
parent
9b92d32d99
commit
f32117dd48
@ -200,6 +200,15 @@ Standard_Integer GEOMImpl_ProjectionDriver::Execute(TFunction_Logbook& log) cons
|
|||||||
}
|
}
|
||||||
|
|
||||||
aShape = OrtProj.Shape();
|
aShape = OrtProj.Shape();
|
||||||
|
|
||||||
|
// check that the result shape is an empty compound
|
||||||
|
// (IPAL22905: TC650: Projection on face dialog problems)
|
||||||
|
if( !aShape.IsNull() && aShape.ShapeType() == TopAbs_COMPOUND )
|
||||||
|
{
|
||||||
|
TopoDS_Iterator anIter( aShape );
|
||||||
|
if( !anIter.More() )
|
||||||
|
Standard_ConstructionError::Raise("Projection aborted : empty compound produced");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (aShape.IsNull()) return 0;
|
if (aShape.IsNull()) return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user