Fix tmp image reuse when exporting different image

If two images have identical processing parameters, then sending one to
an external editor followed by sending the other one will cause the
first temporary image to be reused. This commit associates the image in
the editor with the "cached" temporary image so that the temporary image
only gets used if the editor image matches.
This commit is contained in:
Lawrence Lee
2021-07-25 16:03:13 -07:00
parent c4a8554db3
commit a0711ebc8c
2 changed files with 3 additions and 1 deletions

View File

@@ -243,6 +243,7 @@ private:
Glib::RefPtr<Gio::AppInfo> external_editor_info;
std::unique_ptr<Gtk::AppChooserDialog> app_chooser_dialog;
rtengine::InitialImage *cached_exported_image;
rtengine::procparams::ProcParams cached_exported_pparams;
Glib::ustring cached_exported_filename;