Skip to content

Commit

Permalink
update 3d
Browse files Browse the repository at this point in the history
  • Loading branch information
ftomei committed Mar 12, 2024
1 parent 388e3be commit 9001e52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions bin/CRITERIA3D/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ void MainWindow::drawProject()
}


void MainWindow::clearMaps_GUI()
void MainWindow::clearRaster_GUI()
{
rasterOutput->clear();
rasterDEM->clear();
Expand Down Expand Up @@ -796,7 +796,7 @@ void MainWindow::on_actionLoad_DEM_triggered()

if (fileName == "") return;

clearMaps_GUI();
clearRaster_GUI();

if (! myProject.loadDEM(fileName)) return;

Expand All @@ -811,7 +811,7 @@ void MainWindow::on_actionOpenProject_triggered()
if (fileName == "") return;

clearMeteoPoints_GUI();
clearMaps_GUI();
clearRaster_GUI();

if (! myProject.loadCriteria3DProject(fileName))
{
Expand All @@ -825,7 +825,7 @@ void MainWindow::on_actionOpenProject_triggered()
void MainWindow::on_actionCloseProject_triggered()
{
clearMeteoPoints_GUI();
clearMaps_GUI();
clearRaster_GUI();

myProject.loadCriteria3DProject(myProject.getApplicationPath() + "default.ini");

Expand Down
2 changes: 1 addition & 1 deletion bin/CRITERIA3D/mainwindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@
void drawProject();
void renderDEM();
void drawMeteoPoints();
void clearMaps_GUI();
void clearRaster_GUI();
void clearMeteoPoints_GUI();

void setMeteoVariable(meteoVariable myVar, gis::Crit3DRasterGrid *myGrid);
Expand Down

0 comments on commit 9001e52

Please sign in to comment.