diff options
author | Vojtech Bubnik <bubnikv@gmail.com> | 2021-12-11 18:59:21 +0300 |
---|---|---|
committer | Vojtech Bubnik <bubnikv@gmail.com> | 2021-12-11 18:59:21 +0300 |
commit | 45038f2ccc0a6921012b9f8c943e6901ce40f735 (patch) | |
tree | a320c42ad6c932fd2bf08932292165f88c6439b6 | |
parent | f033a79a2a2ea9cc3fbf1aae145384bb8d5e3dc0 (diff) |
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.
-rw-r--r-- | src/slic3r/GUI/GUI_App.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 ? |