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:
@@ -156,11 +156,6 @@ void Blend_Walking::Perform(Blend_Function& Func,
|
||||
|
||||
InternalPerform(Func,FuncInv,Pmax);
|
||||
|
||||
#ifdef DEB
|
||||
// cout <<"Perform : "<<nbcomputedsection<<" sections calculees"<<endl;
|
||||
// cout <<line->NbPoints()<<" sections gardees"<<endl;
|
||||
#endif
|
||||
|
||||
done = Standard_True;
|
||||
}
|
||||
|
||||
@@ -555,11 +550,6 @@ Standard_Boolean Blend_Walking::Complete(Blend_Function& Func,
|
||||
|
||||
InternalPerform(Func,FuncInv,Pmin);
|
||||
|
||||
#ifdef DEB
|
||||
// cout <<"Complete : "<<nbcomputedsection<<" sections calculees"<<endl;
|
||||
// cout <<line->NbPoints()<<" sections gardees"<<endl;
|
||||
#endif
|
||||
|
||||
iscomplete = Standard_True;
|
||||
return Standard_True;
|
||||
}
|
||||
|
@@ -423,7 +423,7 @@ void Blend_Walking::Transition(const Standard_Boolean OnFirst,
|
||||
TheSurfaceTool::LastVParameter(surf),
|
||||
stat, thenormal, iu, iv);
|
||||
normale.SetXYZ(thenormal.XYZ());
|
||||
#if DEB
|
||||
#if BLEND_DEB
|
||||
if (stat == CSLib_InfinityOfSolutions)
|
||||
cout << "Blend_Walking::Transition : Infinite de Normal" << endl;
|
||||
#endif
|
||||
|
@@ -316,7 +316,7 @@ void Blend_Walking::InternalPerform(Blend_Function& Func,
|
||||
if (stepw > 2*tolgui) State = Blend_StepTooLarge;
|
||||
// Sinon echec recadrage. On sort avec PointsConfondus
|
||||
else {
|
||||
#if DEB
|
||||
#if BLEND_DEB
|
||||
cout << "Echec recadrage" << endl;
|
||||
#endif
|
||||
State = Blend_SamePoints;
|
||||
@@ -521,7 +521,7 @@ void Blend_Walking::InternalPerform(Blend_Function& Func,
|
||||
case Blend_SamePoints :
|
||||
{
|
||||
// On arrete
|
||||
#if DEB
|
||||
#if BLEND_DEB
|
||||
cout << " Points confondus dans le cheminement" << endl;
|
||||
#endif
|
||||
Ext1.SetValue(previousP.PointOnS1(),
|
||||
|
Reference in New Issue
Block a user