From 72614a26ba6ef11fae677d65e94fbc2c6d852e0b Mon Sep 17 00:00:00 2001 From: vro Date: Thu, 27 Feb 2014 18:48:52 +0400 Subject: [PATCH] 0024666: Removal of output information in debug mode in Ocaf DEB_BUILDER replaces DEB pre-processor directive to eliminate extra output on setting a shape to a label. Small correction of test case --- src/TNaming/TNaming_NamedShape.cxx | 10 +++++----- tests/bugs/caf/bug267_2 | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) mode change 100644 => 100755 tests/bugs/caf/bug267_2 diff --git a/src/TNaming/TNaming_NamedShape.cxx b/src/TNaming/TNaming_NamedShape.cxx index feb473f380..9fe70fc98b 100644 --- a/src/TNaming/TNaming_NamedShape.cxx +++ b/src/TNaming/TNaming_NamedShape.cxx @@ -256,7 +256,7 @@ static void RemoveNode(Standard_Boolean MapExist , void TNaming_NamedShape::Clear() { if (Label().IsNull()) { -#ifdef DEB +#ifdef DEB_BUILDER cout << "attention etat fantomatique" << endl; #endif return; @@ -665,7 +665,7 @@ void TNaming_Builder::Generated(const TopoDS_Shape& newShape) TNaming_RefShape* pns; if (myShapes->myMap.IsBound(newShape)) { -#ifdef DEB +#ifdef DEB_BUILDER cout <<"TNaming_Builder::Generate : the shape is already in the attribute"<myMap.ChangeFind(newShape); @@ -706,7 +706,7 @@ void TNaming_Builder::Delete(const TopoDS_Shape& oldShape) if (myShapes->myMap.IsBound(oldShape)) pos = myShapes->myMap.ChangeFind(oldShape); else { -#ifdef DEB +#ifdef DEB_BUILDER cout <<"TNaming_Builder::Delete : the shape is not in the data"<