mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0025418: Debug output to be limited to OCC development environment
Macros ending on "DEB" are replaced by OCCT_DEBUG across OCCT code; new macros described in documentation. Macros starting with DEB are changed to start with "OCCT_DEBUG_". Some code cleaned.
This commit is contained in:
@@ -43,7 +43,7 @@ static TCollection_AsciiString PRODINS("dins ");
|
||||
#include <TopOpeBRepBuild_define.hxx>
|
||||
#include <TopOpeBRepTool_2d.hxx>
|
||||
|
||||
#ifdef DEB
|
||||
#ifdef OCCT_DEBUG
|
||||
extern Standard_Boolean TopOpeBRep_GettraceSHA(const Standard_Integer i);
|
||||
extern Standard_Boolean TopOpeBRepBuild_GettraceSS();
|
||||
extern Standard_Boolean TopOpeBRepBuild_GetcontextSSCONNEX();
|
||||
@@ -111,7 +111,7 @@ void TopOpeBRepBuild_WireEdgeSet::AddShape(const TopoDS_Shape& S)
|
||||
//=======================================================================
|
||||
void TopOpeBRepBuild_WireEdgeSet::AddStartElement(const TopoDS_Shape& S)
|
||||
{
|
||||
#ifdef DEB
|
||||
#ifdef OCCT_DEBUG
|
||||
|
||||
#endif
|
||||
Standard_Boolean tocheck = Standard_True;
|
||||
@@ -495,7 +495,7 @@ void TopOpeBRepBuild_WireEdgeSet::LocalD1(const TopoDS_Shape& SF,const TopoDS_Sh
|
||||
//=======================================================================
|
||||
Standard_Boolean TopOpeBRepBuild_WireEdgeSet::IsClosed(const TopoDS_Shape& E) const
|
||||
{
|
||||
#ifdef DEB
|
||||
#ifdef OCCT_DEBUG
|
||||
Standard_Integer ista=myOMSS.FindIndex(E);Standard_Boolean tsh=(ista)?TopOpeBRep_GettraceSHA(ista):Standard_False;
|
||||
if (tsh) debwesclo(ista);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user