- commented out old debug output
This commit is contained in:
parent
8d89718a76
commit
4955090cb5
|
@ -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="";
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue