From e2741b0679523bea219c4f1dcba8ec237ce0933f Mon Sep 17 00:00:00 2001 From: Paolo Cignoni cignoni Date: Wed, 16 Jan 2008 01:39:55 +0000 Subject: [PATCH] added two slot for better managing the exit from editing tools --- src/meshlab/mainwindow.h | 7 ++++++- src/meshlab/mainwindow_RunTime.cpp | 12 ++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/src/meshlab/mainwindow.h b/src/meshlab/mainwindow.h index 96cf9e3e1..58e41436f 100644 --- a/src/meshlab/mainwindow.h +++ b/src/meshlab/mainwindow.h @@ -23,6 +23,9 @@ /**************************************************************************** History $Log$ +Revision 1.96 2008/01/16 01:39:54 cignoni +added two slot for better managing the exit from editing tools + Revision 1.95 2008/01/04 00:46:28 cignoni Changed the decoration framework. Now it accept a, global, parameter set. Added static calls for finding important directories in a OS independent way. @@ -195,7 +198,9 @@ public slots: bool openIn(QString fileName=QString()); bool openProject(QString fileName=QString(), GLArea *gla=0); void saveProject(); - void setCurrent(int meshId); + void setCurrent(int meshId); + void updateGL(); + void endEdit(); private slots: diff --git a/src/meshlab/mainwindow_RunTime.cpp b/src/meshlab/mainwindow_RunTime.cpp index eef5b2f30..5c4f497e6 100644 --- a/src/meshlab/mainwindow_RunTime.cpp +++ b/src/meshlab/mainwindow_RunTime.cpp @@ -24,6 +24,9 @@ History $Log$ +Revision 1.145 2008/01/16 01:39:55 cignoni +added two slot for better managing the exit from editing tools + Revision 1.144 2008/01/06 20:45:11 cignoni busy cursor when saving @@ -372,6 +375,15 @@ void MainWindow::setCurrent(int meshId) stddialog->hide(); } +void MainWindow::updateGL() +{ + GLA()->updateGL(); +} + +void MainWindow::endEdit() +{ + GLA()->endEdit(); +} void MainWindow::applyLastFilter() { if(GLA()==0) return;