1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0026073: Changes were lost

Fixed small bug with empty handle usage
This commit is contained in:
anv
2015-04-14 14:23:28 +03:00
committed by bugmaster
parent af65fb1941
commit 8ba678133b

View File

@@ -187,6 +187,8 @@ static
const Standard_Real Tol,
const Standard_Boolean RecadreOnPeriodic)
{
if(myFace.IsNull())
return TopAbs_UNKNOWN;
if(myFClass2d == NULL) {
myFClass2d = (void *) new BRepTopAdaptor_FClass2d(myFace,Tol);
}