[shotwell/shotwell-0.26] Don't wrongly fall back to shotwell developer
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell/shotwell-0.26] Don't wrongly fall back to shotwell developer
- Date: Sun, 24 Dec 2017 13:52:23 +0000 (UTC)
commit 493db7cfd2f4e8e06562f951cc331edd723c3cfb
Author: Jens Georg <mail jensge org>
Date: Sun Dec 24 14:13:05 2017 +0100
Don't wrongly fall back to shotwell developer
If we requested CAMERA development, but the RAW file did not have any
preview embedded, Shotwell falls back to the SHOTWELL developer, even
though we have the camera-developed fle available
Only fall back to SHOTWELL if embedded was chosen and embedded is not
available.
https://bugzilla.gnome.org/show_bug.cgi?id=791893
src/Photo.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Photo.vala b/src/Photo.vala
index c768017..059c4d3 100644
--- a/src/Photo.vala
+++ b/src/Photo.vala
@@ -804,7 +804,7 @@ public abstract class Photo : PhotoSource, Dateable {
// If the embedded preview is too small to be used in the PhotoPage, don't
// allow EMBEDDED to be chosen.
- if (!is_raw_developer_available(RawDeveloper.EMBEDDED))
+ if (!is_raw_developer_available(RawDeveloper.EMBEDDED) && d != RawDeveloper.CAMERA)
d = RawDeveloper.SHOTWELL;
lock (developments) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]