mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0025266: Debug statements in the source are getting flushed on to the console
Output to cout activated previously in Debug mode by #ifdef DEB is suppressed by using macro <PACKAGE>_DEB instead of DEB
This commit is contained in:
@@ -399,7 +399,7 @@ void AppBlend_AppSurf::InternalPerform(const Handle(TheLine)& Lin,
|
||||
mytol3d = Max(TheTol3d, mytol3d);
|
||||
mytol2d = Max(TheTol2d, mytol2d);
|
||||
}
|
||||
#ifdef DEB
|
||||
#ifdef APPBLEND_DEB
|
||||
cout << " Tolerances obtenues --> 3d : "<< mytol3d << endl;
|
||||
cout << " --> 2d : "<< mytol2d << endl;
|
||||
#endif
|
||||
@@ -444,7 +444,7 @@ void AppBlend_AppSurf::InternalPerform(const Handle(TheLine)& Lin,
|
||||
}
|
||||
theapprox.Perform(multL);
|
||||
theapprox.Error(mytol3d,mytol2d);
|
||||
#ifdef DEB
|
||||
#ifdef APPBLEND_DEB
|
||||
cout << " Tolerances obtenues --> 3d : "<< mytol3d << endl;
|
||||
cout << " --> 2d : "<< mytol2d << endl;
|
||||
#endif
|
||||
@@ -506,7 +506,7 @@ void AppBlend_AppSurf::InternalPerform(const Handle(TheLine)& Lin,
|
||||
|
||||
mytol3d = Variation.MaxError();
|
||||
mytol2d = 0.;
|
||||
#ifdef DEB
|
||||
#ifdef APPBLEND_DEB
|
||||
cout << " Tolerances obtenues --> 3d : "<< mytol3d << endl;
|
||||
cout << " --> 2d : "<< mytol2d << endl;
|
||||
#endif
|
||||
@@ -826,7 +826,7 @@ void AppBlend_AppSurf::Perform(const Handle(TheLine)& Lin,
|
||||
}
|
||||
// modified by EAP Thu Jan 3 15:45:27 2002 ___END___
|
||||
}
|
||||
#ifdef DEB
|
||||
#ifdef APPBLEND_DEB
|
||||
cout << " Tolerances obtenues --> 3d : "<< mytol3d << endl;
|
||||
cout << " --> 2d : "<< mytol2d << endl;
|
||||
#endif
|
||||
@@ -851,7 +851,7 @@ void AppBlend_AppSurf::Perform(const Handle(TheLine)& Lin,
|
||||
F.Parameter(Lin->Point(Lin->NbPoints())),
|
||||
tabVKnots->ChangeArray1()
|
||||
);
|
||||
#ifdef DEB
|
||||
#ifdef APPBLEND_DEB
|
||||
cout << "Warning: AppBlend_AppSurf::Perform(), bad length of aParamSeq: " <<
|
||||
aParamSeq.Length() << " instead of " << tabVKnots->Length() << endl;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user