mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0026073: Changes were lost
Fixed small bug with empty handle usage
This commit is contained in:
parent
af65fb1941
commit
8ba678133b
@ -187,6 +187,8 @@ static
|
|||||||
const Standard_Real Tol,
|
const Standard_Real Tol,
|
||||||
const Standard_Boolean RecadreOnPeriodic)
|
const Standard_Boolean RecadreOnPeriodic)
|
||||||
{
|
{
|
||||||
|
if(myFace.IsNull())
|
||||||
|
return TopAbs_UNKNOWN;
|
||||||
if(myFClass2d == NULL) {
|
if(myFClass2d == NULL) {
|
||||||
myFClass2d = (void *) new BRepTopAdaptor_FClass2d(myFace,Tol);
|
myFClass2d = (void *) new BRepTopAdaptor_FClass2d(myFace,Tol);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user