Optimized thumbnail generation: If the image was not edited yet anyway, only the (fast) raw internal preview image is taken. So if you just downloaded the many pictures from the camera, your machine will not busy generating thumbnails.
This commit is contained in:
@@ -81,9 +81,9 @@ void FileBrowserEntry::refreshThumbnailImage () {
|
||||
}
|
||||
|
||||
void FileBrowserEntry::refreshQuickThumbnailImage () {
|
||||
|
||||
// Only make a (slow) processed preview if the picture has been edited at all
|
||||
if ( thumbnail &&
|
||||
thumbnail->isQuick() )
|
||||
thumbnail->isQuick() && thumbnail->isPParamsValid() )
|
||||
{
|
||||
thumbImageUpdater->add(thumbnail, thumbnail->getProcParams(), preh, &updatepriority, true, this);
|
||||
}
|
||||
|
@@ -85,6 +85,7 @@ class Thumbnail {
|
||||
void loadProcParams ();
|
||||
|
||||
bool isQuick() { return quick_; }
|
||||
bool isPParamsValid() { return pparamsValid; }
|
||||
bool isRecentlySaved ();
|
||||
void imageDeveloped ();
|
||||
void imageEnqueued ();
|
||||
|
Reference in New Issue
Block a user