[shotwell] Don't wrongly fall back to shotwell developer



commit b80a42d7a4f60be28369204936f55a2e0f16f5ae
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 c290943..f089d79 100644
--- a/src/Photo.vala
+++ b/src/Photo.vala
@@ -822,7 +822,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]