Relax dependency from procparams.h
This commit is contained in:
@@ -197,7 +197,7 @@ void BatchQueue::addEntries (const std::vector<BatchQueueEntry*>& entries, bool
|
||||
// recovery save
|
||||
const auto tempFile = getTempFilenameForParams (entry->filename);
|
||||
|
||||
if (!entry->params.save (tempFile))
|
||||
if (!entry->params->save (tempFile))
|
||||
entry->savedParamsFile = tempFile;
|
||||
|
||||
entry->selected = false;
|
||||
@@ -642,7 +642,7 @@ void BatchQueue::error(const Glib::ustring& descr)
|
||||
bqbs->setButtonListener (this);
|
||||
processing->addButtonSet (bqbs);
|
||||
processing->processing = false;
|
||||
processing->job = rtengine::ProcessingJob::create(processing->filename, processing->thumbnail->getType() == FT_Raw, processing->params);
|
||||
processing->job = rtengine::ProcessingJob::create(processing->filename, processing->thumbnail->getType() == FT_Raw, *processing->params);
|
||||
processing = nullptr;
|
||||
redraw ();
|
||||
}
|
||||
@@ -706,7 +706,7 @@ rtengine::ProcessingJob* BatchQueue::imageReady(rtengine::IImagefloat* img)
|
||||
// We keep the extension to avoid overwriting the profile when we have
|
||||
// the same output filename with different extension
|
||||
//processing->params.save (removeExtension(fname) + paramFileExtension);
|
||||
processing->params.save (fname + ".out" + paramFileExtension);
|
||||
processing->params->save (fname + ".out" + paramFileExtension);
|
||||
}
|
||||
|
||||
if (processing->thumbnail) {
|
||||
|
Reference in New Issue
Block a user