PP3 sidecar files were triggering unwanted monitoring event (there was still some remaining even with Oduis' fix from issue #597). They are now filtered out : only files that have one of the retained (and then displayed) extensions are taken into account.
Works for both Windows and Linux (i don't know if MacOS version's is listening the directories). Note that contrary to the Branch3 version of the patch, the pp3 files are updated too when ranking the thumbs because this information is now part of the pp3 file.
This commit is contained in:
@@ -618,15 +618,15 @@ void Thumbnail::saveThumbnail ()
|
||||
_saveThumbnail();
|
||||
}
|
||||
|
||||
void Thumbnail::updateCache () {
|
||||
void Thumbnail::updateCache (bool updatePParams, bool updateCacheImageData) {
|
||||
|
||||
if (pparamsValid) {
|
||||
if (options.saveParamsCache)
|
||||
pparams.save (getCacheFileName ("profiles")+paramFileExtension);
|
||||
if (options.saveParamsFile)
|
||||
// pparams.save (removeExtension(fname) + paramFileExtension);
|
||||
pparams.save (fname + paramFileExtension);
|
||||
if (updatePParams && pparamsValid) {
|
||||
pparams.save (
|
||||
options.saveParamsCache ? getCacheFileName ("profiles")+paramFileExtension : "",
|
||||
options.saveParamsFile ? fname + paramFileExtension : ""
|
||||
);
|
||||
}
|
||||
if (updateCacheImageData)
|
||||
cfs.save (getCacheFileName ("data")+".txt");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user