do not write pp3's alongside image files if the preferences say they must go to the cache

Fix for #3834
This commit is contained in:
Alberto Griggio
2017-04-18 14:41:01 +02:00
parent a781e86245
commit e33457cb6e

View File

@@ -219,7 +219,7 @@ rtengine::procparams::ProcParams* Thumbnail::createProcParamsForUpdate(bool retu
const bool create = (!hasProcParams() || force);
const Glib::ustring outFName =
(options.paramsLoadLocation == PLL_Input) ?
(options.paramsLoadLocation == PLL_Input && options.saveParamsFile) ?
fname + paramFileExtension :
getCacheFileName("profiles", paramFileExtension);