Update storage method in .pp3 files for RT-spot points

RT-spot points are now stored as integer vector (instead of four
dedicated integer) to allow future improvements.
This commit is contained in:
Pandagrapher
2020-04-23 19:38:53 +02:00
parent c974799e76
commit 192c9b118f
8 changed files with 57 additions and 86 deletions

View File

@@ -2321,10 +2321,10 @@ void ControlSpotPanel::setDefaults(const rtengine::procparams::ProcParams * defP
// Set default values for adjuster widgets
sensiexclu_->setDefault((double)defSpot.sensiexclu);
structexclu_->setDefault((double)defSpot.structexclu);
locX_->setDefault((double)defSpot.locX);
locXL_->setDefault((double)defSpot.locXL);
locY_->setDefault((double)defSpot.locY);
locYT_->setDefault((double)defSpot.locYT);
locX_->setDefault((double)defSpot.loc.at(0));
locXL_->setDefault((double)defSpot.loc.at(1));
locY_->setDefault((double)defSpot.loc.at(2));
locYT_->setDefault((double)defSpot.loc.at(3));
centerX_->setDefault((double)defSpot.centerX);
centerY_->setDefault((double)defSpot.centerY);
circrad_->setDefault((double)defSpot.circrad);