]> OCCT Git - occt.git/commitdiff
0028972: A not useful message is printed on copying of data in OCAF
authorvro <vro@opencascade.com>
Fri, 4 Aug 2017 10:42:42 +0000 (13:42 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 17 Aug 2017 12:49:17 +0000 (15:49 +0300)
src/TDF/TDF_CopyLabel.cxx

index e3c8ce194028e4352474761f05b6042d93a12791..fe1e93ec1075be194222a1c1a91124192da77859 100644 (file)
@@ -161,13 +161,7 @@ void TDF_CopyLabel::Perform()
   myIsDone = Standard_False;
   if(mySL.Data()->Root().IsDifferent(myTL.Data()->Root()) && //TDF_Data is not the same
      !TDF_Tool::IsSelfContained(mySL, myFilter)) return;               //source label isn't self-contained
-  else {
-#ifdef OCCT_DEBUG
-    cout << "THE SAME Data" <<endl;
-#endif
-  }
 
-//TDF_Data of the source and target labels are the same
   Standard_Boolean extReferers =
     ExternalReferences(mySL, myMapOfExt, myFilter);