From: davila <> Date: Mon, 24 Sep 2012 13:29:44 +0000 (+0000) Subject: Cleanning debug Messages X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=bbtkGEditor.git;a=commitdiff_plain;h=85db9c0b5974b0ed662dce9920785dab53365ddc Cleanning debug Messages --- diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx index e4bb7ef..557a2b0 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx @@ -1754,7 +1754,6 @@ void wxVtkSceneManager::getCleanLine(stringstream &inputStream, std::string &lin { getline(inputStream, line,'\n'); int size = line.length(); -printf(" wxVtkSceneManager::getCleanLine Start %d %s\n",size, line.c_str() ); if (size>0) { if ( line[ size-1 ]==13 ) @@ -1762,29 +1761,24 @@ printf(" wxVtkSceneManager::getCleanLine Start %d %s\n",size, line.c_str() ); line.erase(size-1,1); } // if line } // if size -printf(" wxVtkSceneManager::getCleanLine End\n", line.c_str() ); } //========================================================================= void wxVtkSceneManager::loadDiagram(stringstream &inputStream) { - printf("wxVtkSceneManager::loadDiagram Start\n"); int size; std::string version = ""; std::string line = ""; char delims[] = ":"; char *result = NULL; - printf("wxVtkSceneManager::loadDiagram 1\n"); getCleanLine(inputStream, line); - printf("wxVtkSceneManager::loadDiagram 2 %s\n",line.c_str()); bool start = false; while (!inputStream.eof()) { if (line == "" || line[0] == '#') { line=""; getCleanLine(inputStream, line); - printf("wxVtkSceneManager::loadDiagram line> %s\n",line.c_str()); if (line == "# - BBTKGEditor v 1.0 BBG BlackBox Diagram file") { version = line.substr(18, 3); @@ -2147,7 +2141,6 @@ void wxVtkSceneManager::loadDiagram(stringstream &inputStream) } // start -printf("wxVtkSceneManager::loadDiagram End\n"); } //=========================================================================