]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkObject.cxx
*** empty log message ***
[bbtk.git] / kernel / src / bbtkObject.cxx
index 7ae64a27c1c9e637027b72d2a53f5162411d11a5..304fa1de856e68e465d65fcc1f4f4ef93bed0986 100644 (file)
@@ -190,17 +190,21 @@ namespace bbtk
     if (Object::GetObjectsCount()>0)
       {
        std::cout << std::endl;
-       std::cout << "**************************** WARNING ********************"
-                 <<std::endl;
+       std::cout << "**************************** WARNING *************************"
+                 <<std::endl; 
        std::cout << "**** "<< Object::GetObjectsCount()
                  <<" bbtk objects still alive after main ended"<<std::endl;
-       std::cout << "**** "
-                 <<"Rerun bbi with -D option or put 'debug -D' in bbs file"
-                 <<std::endl;
-       std::cout << "**** "
-                 <<"to view the objects list "
+       if (!PrintObjectListInfo) 
+         {
+           
+           std::cout << "**** "
+                     <<"Rerun bbi with -D option or put 'debug -D' in bbs file"
                  <<std::endl;
-       std::cout << "*********************************************************"
+           std::cout << "**** "
+                     <<"to view the objects list "
+                     <<std::endl;
+         }
+       std::cout << "**************************************************************"
                  <<std::endl
                  <<std::endl;