Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Bubnik <bubnikv@gmail.com>2021-12-11 18:59:21 +0300
committerVojtech Bubnik <bubnikv@gmail.com>2021-12-11 18:59:21 +0300
commit45038f2ccc0a6921012b9f8c943e6901ce40f735 (patch)
treea320c42ad6c932fd2bf08932292165f88c6439b6
parentf033a79a2a2ea9cc3fbf1aae145384bb8d5e3dc0 (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.cpp3
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 ?