From 45038f2ccc0a6921012b9f8c943e6901ce40f735 Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Sat, 11 Dec 2021 16:59:21 +0100 Subject: [PATCH] Fix of PS 2.4.0 Beta 4: No image handler for type 15 defined. #7469 On Linux, image handlers need to be initialized before showing any PNG. --- src/slic3r/GUI/GUI_App.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index f70261262..708888ad9 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -949,6 +949,9 @@ bool GUI_App::check_older_app_config(Semver current_version, bool backup) BOOST_LOG_TRIVIAL(info) << "last app config file used: " << m_older_data_dir_path; // ask about using older data folder + // See GH issue #7469. + wxInitAllImageHandlers(); + InfoDialog msg(nullptr , format_wxstr(_L("You are opening %1% version %2%."), SLIC3R_APP_NAME, SLIC3R_VERSION) , backup ?