From 8b091f709b744294c7b6b4c68e985cfa7e3bee5e Mon Sep 17 00:00:00 2001 From: raistlin7447 Date: Mon, 28 Sep 2026 07:19:58 -0500 Subject: [PATCH] libslic3r: say what the write-back catch in commit_user_preset covers Preset::save throws a runtime_error only when it cannot create the preset's folder; a failed write is silent, and invalid UTF-8 throws a type_error that is not caught here. The comment now claims only the case the catch handles. --- src/libslic3r/Preset.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libslic3r/Preset.cpp b/src/libslic3r/Preset.cpp index 3fc7de5a53..e8437f7c0b 100644 --- a/src/libslic3r/Preset.cpp +++ b/src/libslic3r/Preset.cpp @@ -1807,8 +1807,7 @@ void PresetCollection::commit_user_preset(UserPresetLoad &&loaded, std::deque