For setSolverProfile use index 1-8
This commit is contained in:
@@ -166,6 +166,7 @@ bool ScriptEngine::convert(File *file, QString &outpath, const QString &format,
|
||||
#ifdef PLATESOLVER
|
||||
void ScriptEngine::setSolverProfile(int index)
|
||||
{
|
||||
index -= 1;
|
||||
if(_solver && index >= SSolver::Parameters::DEFAULT && index < SSolver::Parameters::BIG_STARS)
|
||||
{
|
||||
_solver->setParameters((SSolver::Parameters::ParametersProfile)index);
|
||||
|
||||
Reference in New Issue
Block a user