PP3 file version is now manually specified in a header file (ppversion.h) for easier version tracking through Mercurial. It has been set to 300 instead of {latestagdistance} which was a bad idea. This could chnage if the Mercurial team manage to create a reliable absolute version numbering of the remote repos before the 3.0 release.
This commit is contained in:
@@ -159,7 +159,7 @@ void Thumbnail::loadProcParams () {
|
||||
if (options.paramsLoadLocation==PLL_Input) {
|
||||
// try to load it from params file next to the image file
|
||||
int ppres = pparams.load (fname + paramFileExtension);
|
||||
pparamsValid = !ppres && pparams.version>=220;
|
||||
pparamsValid = !ppres && pparams.ppVersion>=220;
|
||||
if (!pparamsValid)
|
||||
pparamsValid = !pparams.load (getCacheFileName ("profiles")+paramFileExtension);
|
||||
}
|
||||
@@ -169,7 +169,7 @@ void Thumbnail::loadProcParams () {
|
||||
// if no success, load it from params file next to the image file
|
||||
if (!pparamsValid) {
|
||||
int ppres = pparams.load (fname + paramFileExtension);
|
||||
pparamsValid = !ppres && pparams.version>=220;
|
||||
pparamsValid = !ppres && pparams.ppVersion>=220;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -571,4 +571,4 @@ bool Thumbnail::openDefaultViewer(int destination) {
|
||||
return false;
|
||||
#endif
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user