0025266: Debug statements in the source are getting flushed on to the console
[occt.git] / src / ShapeAnalysis / ShapeAnalysis_CheckSmallFace.cxx
index 2fb0db0..1c259da 100644 (file)
@@ -929,7 +929,9 @@ Standard_Boolean  ShapeAnalysis_CheckSmallFace::CheckTwisted (const TopoDS_Face&
       }
       catch (Standard_Failure)
        {
-         cout << "Couldn't compute angle between derivative vectors"  <<endl;
+#ifdef SHAPEANALYSIS_DEB
+          cout << "Couldn't compute angle between derivative vectors"  <<endl;
+#endif
          return Standard_False;
        }
 //       cout << "angle1 "   << angle1<< endl;