From: vro Date: Thu, 27 Feb 2014 14:48:52 +0000 (+0400) Subject: 0024666: Removal of output information in debug mode in Ocaf X-Git-Tag: V6_8_0_beta~518 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=ca2edbb2370da27feebd8e432160778322f89dd3;p=occt-copy.git 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 --- 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"<