0026073: Changes were lost
[occt.git] / src / BRepTopAdaptor / BRepTopAdaptor_TopolTool.cxx
index a0c132d..9d6d203 100644 (file)
@@ -187,6 +187,8 @@ static
                                                  const Standard_Real Tol,
                                                  const Standard_Boolean RecadreOnPeriodic)
 {
                                                  const Standard_Real Tol,
                                                  const Standard_Boolean RecadreOnPeriodic)
 {
+  if(myFace.IsNull())
+    return TopAbs_UNKNOWN;
   if(myFClass2d == NULL) { 
     myFClass2d = (void *) new BRepTopAdaptor_FClass2d(myFace,Tol);
   } 
   if(myFClass2d == NULL) { 
     myFClass2d = (void *) new BRepTopAdaptor_FClass2d(myFace,Tol);
   }