diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 0dfbd321b67021dddc09ea55fc25767543f71b20..f23550a8b4c85ab3ec4c8e5544f83a4348f91ab8 100755 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -633,8 +633,6 @@ bool MainWindow::slotAddDataSet() void MainWindow::slotClearAllDataset() { clearDataSet(1); - clearDataSet(2); - clearDataSet(3); numberOfDatasetLoaded=0; } @@ -1211,7 +1209,7 @@ void MainWindow::clearDataSet(int ID) if(numberOfDatasetLoaded<0)numberOfDatasetLoaded=0; //finally clear the geometry - slotClearGeometry(); + //slotClearGeometry(); } void MainWindow::resetAllFrameCursor() @@ -1578,10 +1576,10 @@ void MainWindow::slotSetCameraPerspectiveToVirtualAgent() } /// @todo does it work? mem check? -void MainWindow::slotClearGeometry() -{ - _visualisationThread->setGeometry(NULL); -} +//void MainWindow::slotClearGeometry() +//{ +// _visualisationThread->setGeometry(NULL); +//} void MainWindow::slotErrorOutput(QString err) { diff --git a/src/MainWindow.h b/src/MainWindow.h index af30864fc58e491c0f5b32a7583e694508d57e54..21240f6707dfe1d32a2fb2f8412c4a73c74b212d 100644 --- a/src/MainWindow.h +++ b/src/MainWindow.h @@ -146,7 +146,7 @@ public Q_SLOTS: /// load a geometry file and display it //void slotLoadGeometry( ); - void slotClearGeometry(); + //void slotClearGeometry(); //void slotLoadParseShowGeometry(QString fileName); /// load a geometry sent by the data transfer thread diff --git a/src/ThreadVisualisation.cpp b/src/ThreadVisualisation.cpp index 651bcb105da3f15b666cb26b503d8592892eb4b0..305681ae41af29cfc8da7c1c9f9d22387ecadc2e 100644 --- a/src/ThreadVisualisation.cpp +++ b/src/ThreadVisualisation.cpp @@ -287,7 +287,7 @@ void ThreadVisualisation::run() } - if(false || SystemSettings::get2D()) { + if(SystemSettings::get2D()) { _renderer->GetActiveCamera()->OrthogonalizeViewUp(); _renderer->GetActiveCamera()->ParallelProjectionOn(); _renderer->ResetCamera(); @@ -655,6 +655,7 @@ void ThreadVisualisation::init() void ThreadVisualisation::finalize() { + } void ThreadVisualisation::QcolorToDouble(const QColor &col, double *rgb) diff --git a/src/geometry/FacilityGeometry.cpp b/src/geometry/FacilityGeometry.cpp index c3cf7e04bab66ccb368591e3815256c6971f4987..ed9966aa2627bce25cadc0cfd7db9809f55de615 100644 --- a/src/geometry/FacilityGeometry.cpp +++ b/src/geometry/FacilityGeometry.cpp @@ -852,7 +852,7 @@ string text, double color) //tprop->BoldOn(); //tprop->ShadowOn(); //tprop->SetLineSpacing(1.0); - tprop->SetFontSize(SystemSettings::getPedestrianCaptionSize()); + tprop->SetFontSize(SystemSettings::getPedestrianCaptionSize()/2); double colorRGB[3]; lookupTable->GetColor(color, colorRGB);