tidy output
Stefan Schuermans

Stefan Schuermans commited on 2017-05-20 12:59:56
Showing 1 changed files, with 3 additions and 2 deletions.

... ...
@@ -95,7 +95,7 @@ bool cbEntity(const class dimeState * const state, class dimeEntity *entity,
95 95
     if (pLine->length() >= EPSILON) // ignore dots
96 96
       pObject->add(pLine);
97 97
     else {
98
-      std::cout << "ignoring dot at " << pLine->mStart.mX << ","
98
+      std::cerr << "ignoring dot at " << pLine->mStart.mX << ","
99 99
                 << pLine->mStart.mY << std::endl;
100 100
       delete pLine;
101 101
     }
... ...
@@ -337,7 +337,8 @@ int main(int argc, char *argv[])
337 337
   gLayerCable.merge(&itCable->second);
338 338
   // gLayerCables[] is now empty and will not be used any more
339 339
 
340
-  // output some information
340
+  // output object count information
341
+  std::cout << "object counts:" << std::endl;
341 342
   std::cout << "  video: " << gLayerVideo.mObjects.size() << std::endl;
342 343
   std::cout << "  pixel: " << gLayerPixel.mObjects.size() << std::endl;
343 344
   std::cout << "  cable: " << gLayerCable.mObjects.size() << std::endl;
344 345