0025266: Debug statements in the source are getting flushed on to the console
[occt.git] / src / IGESCAFControl / IGESCAFControl_Writer.cxx
index 3c7ab22..6b979b9 100644 (file)
@@ -368,11 +368,8 @@ static void AttachLayer (const Handle(Transfer_FinderProcess) &FP,
     Handle(TransferBRep_ShapeMapper) mapper = TransferBRep::ShapeMapper ( FP, localShape );
     if ( FP->FindTypedTransient ( mapper, STANDARD_TYPE(IGESData_IGESEntity), Igesent ) ) {
       Igesent->InitLevel( 0, localIntName );
-// #ifdef DEB
-//       cout << "Init layer " << localIntName << " for "<< localShape.TShape()->DynamicType()->Name() << endl;
-// #endif
     }
-#ifdef DEB
+#ifdef IGESCAFCONTROL_DEB
     else cout << "Warning: Can't find entity for shape in mapper" << endl;
 #endif
   }