Skip to content

Commit

Permalink
update 3D
Browse files Browse the repository at this point in the history
  • Loading branch information
ftomei committed Apr 15, 2024
1 parent 56b3adc commit 96201ed
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/CRITERIA3D/shared/project3D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,20 +176,26 @@ bool Project3D::loadProject3DSettings()
// soil db
soilDbFileName = projectSettings->value("soil_db").toString();
if (soilDbFileName == "")
{
soilDbFileName = projectSettings->value("db_soil").toString();
}

// crop db
cropDbFileName = projectSettings->value("crop_db").toString();
if (cropDbFileName == "")
{
cropDbFileName = projectSettings->value("db_crop").toString();
}

// soil map
soilMapFileName = projectSettings->value("soil_map").toString();

// land use map
landUseMapFileName = projectSettings->value("landuse_map").toString();
if (landUseMapFileName == "")
{
landUseMapFileName = projectSettings->value("landUnits_map").toString();
}

projectSettings->endGroup();

Expand Down

0 comments on commit 96201ed

Please sign in to comment.