- commented out old debug output

This commit is contained in:
Mark Vejvoda 2011-12-03 08:54:18 +00:00
parent 8d89718a76
commit 4955090cb5
2 changed files with 10 additions and 10 deletions

View File

@ -624,8 +624,8 @@ void MainWindow::onPaint(wxPaintEvent &event) {
void MainWindow::onClose(wxCloseEvent &event){ void MainWindow::onClose(wxCloseEvent &event){
// release memory first (from onMenuFileClearAll) // release memory first (from onMenuFileClearAll)
printf("OnClose START\n"); //printf("OnClose START\n");
fflush(stdout); //fflush(stdout);
modelPathList.clear(); modelPathList.clear();
particlePathList.clear(); particlePathList.clear();
@ -646,8 +646,8 @@ void MainWindow::onClose(wxCloseEvent &event){
delete model; delete model;
model = NULL; model = NULL;
printf("OnClose about to END\n"); //printf("OnClose about to END\n");
fflush(stdout); //fflush(stdout);
delete this; delete this;
} }
@ -971,8 +971,8 @@ void MainWindow::onMenuFileSaveScreenshot(wxCommandEvent &event) {
void MainWindow::onMenuFileClearAll(wxCommandEvent &event) { void MainWindow::onMenuFileClearAll(wxCommandEvent &event) {
try { try {
printf("Start onMenuFileClearAll\n"); //printf("Start onMenuFileClearAll\n");
fflush(stdout); //fflush(stdout);
modelPathList.clear(); modelPathList.clear();
particlePathList.clear(); particlePathList.clear();
@ -1002,8 +1002,8 @@ void MainWindow::onMenuFileClearAll(wxCommandEvent &event) {
GetStatusBar()->SetStatusText(ToUnicode(statusbarText.c_str())); GetStatusBar()->SetStatusText(ToUnicode(statusbarText.c_str()));
isControlKeyPressed = false; isControlKeyPressed = false;
printf("END onMenuFileClearAll\n"); //printf("END onMenuFileClearAll\n");
fflush(stdout); //fflush(stdout);
if(timer) timer->Start(100); if(timer) timer->Start(100);
} }
@ -1928,7 +1928,7 @@ END_EVENT_TABLE()
// =============================================== // ===============================================
bool App::OnInit() { bool App::OnInit() {
SystemFlags::VERBOSE_MODE_ENABLED = true; SystemFlags::VERBOSE_MODE_ENABLED = false;
string modelPath=""; string modelPath="";
string particlePath=""; string particlePath="";

View File

@ -1486,7 +1486,7 @@ bool SimpleDialog::show(const string &title, bool wide) {
// =============================================== // ===============================================
bool App::OnInit() { bool App::OnInit() {
SystemFlags::VERBOSE_MODE_ENABLED = true; SystemFlags::VERBOSE_MODE_ENABLED = false;
SystemFlags::ENABLE_THREADED_LOGGING = false; SystemFlags::ENABLE_THREADED_LOGGING = false;
string fileparam; string fileparam;