diff --git a/source/g3d_viewer/main.cpp b/source/g3d_viewer/main.cpp index 63678d7d..eb790e12 100644 --- a/source/g3d_viewer/main.cpp +++ b/source/g3d_viewer/main.cpp @@ -624,8 +624,8 @@ void MainWindow::onPaint(wxPaintEvent &event) { void MainWindow::onClose(wxCloseEvent &event){ // release memory first (from onMenuFileClearAll) - printf("OnClose START\n"); - fflush(stdout); + //printf("OnClose START\n"); + //fflush(stdout); modelPathList.clear(); particlePathList.clear(); @@ -646,8 +646,8 @@ void MainWindow::onClose(wxCloseEvent &event){ delete model; model = NULL; - printf("OnClose about to END\n"); - fflush(stdout); + //printf("OnClose about to END\n"); + //fflush(stdout); delete this; } @@ -971,8 +971,8 @@ void MainWindow::onMenuFileSaveScreenshot(wxCommandEvent &event) { void MainWindow::onMenuFileClearAll(wxCommandEvent &event) { try { - printf("Start onMenuFileClearAll\n"); - fflush(stdout); + //printf("Start onMenuFileClearAll\n"); + //fflush(stdout); modelPathList.clear(); particlePathList.clear(); @@ -1002,8 +1002,8 @@ void MainWindow::onMenuFileClearAll(wxCommandEvent &event) { GetStatusBar()->SetStatusText(ToUnicode(statusbarText.c_str())); isControlKeyPressed = false; - printf("END onMenuFileClearAll\n"); - fflush(stdout); + //printf("END onMenuFileClearAll\n"); + //fflush(stdout); if(timer) timer->Start(100); } @@ -1928,7 +1928,7 @@ END_EVENT_TABLE() // =============================================== bool App::OnInit() { - SystemFlags::VERBOSE_MODE_ENABLED = true; + SystemFlags::VERBOSE_MODE_ENABLED = false; string modelPath=""; string particlePath=""; diff --git a/source/glest_map_editor/main.cpp b/source/glest_map_editor/main.cpp index 69d2ecef..7c894fb9 100644 --- a/source/glest_map_editor/main.cpp +++ b/source/glest_map_editor/main.cpp @@ -1486,7 +1486,7 @@ bool SimpleDialog::show(const string &title, bool wide) { // =============================================== bool App::OnInit() { - SystemFlags::VERBOSE_MODE_ENABLED = true; + SystemFlags::VERBOSE_MODE_ENABLED = false; SystemFlags::ENABLE_THREADED_LOGGING = false; string fileparam;