Fix Lensfun camera mismatch

Work around a Lensfun bug that finds the wrong camera when given an
exact name of certain cameras.
This commit is contained in:
Lawrence Lee
2023-10-14 21:18:04 -07:00
parent a618efe782
commit 1efa06e887
3 changed files with 16 additions and 6 deletions

View File

@@ -120,7 +120,7 @@ public:
std::vector<LFCamera> getCameras() const;
std::vector<LFLens> getLenses() const;
LFCamera findCamera(const Glib::ustring &make, const Glib::ustring &model) const;
LFCamera findCamera(const Glib::ustring &make, const Glib::ustring &model, bool autoMatch) const;
LFLens findLens(const LFCamera &camera, const Glib::ustring &name) const;
std::unique_ptr<LFModifier> findModifier(