diff --git a/src/GEOMAlgo/GEOMAlgo_ClsfQuad.cxx b/src/GEOMAlgo/GEOMAlgo_ClsfQuad.cxx index 7a2736d35..3011d0b96 100644 --- a/src/GEOMAlgo/GEOMAlgo_ClsfQuad.cxx +++ b/src/GEOMAlgo/GEOMAlgo_ClsfQuad.cxx @@ -138,6 +138,7 @@ void GEOMAlgo_ClsfQuad::GetCorners(gp_Pnt &theTopLeftPoint, //======================================================================= void GEOMAlgo_ClsfQuad::CheckData() { + myErrorStatus = 0; if (myQuadNormal.SquareMagnitude() <= DBL_MIN) { myErrorStatus = 10; // undefined quadrangle normal.