mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +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:
@@ -389,7 +389,7 @@ TDataXtd_GeometryEnum TDataXtd_Geometry::Type (const Handle(TNaming_NamedShape)
|
||||
}
|
||||
break;
|
||||
}
|
||||
#ifdef DEB
|
||||
#ifdef OCCT_DEBUG
|
||||
else {
|
||||
Standard_Failure::Raise("curve Null dans TDataXtd_Geometry");
|
||||
}
|
||||
@@ -410,7 +410,7 @@ TDataXtd_GeometryEnum TDataXtd_Geometry::Type (const Handle(TNaming_NamedShape)
|
||||
type = TDataXtd_PLANE;
|
||||
}
|
||||
}
|
||||
#ifdef DEB
|
||||
#ifdef OCCT_DEBUG
|
||||
else {
|
||||
Standard_Failure::Raise("surface Null dans TDataXtd_Geometry");
|
||||
}
|
||||
|
Reference in New Issue
Block a user