Fix incorrect length modification when loading device-related parameters

(cherry picked from commit bambulab/BambuStudio@ebf57372da)

Co-Authored-By: weizhen.xie <weizhen.xie@bambulab.com>
This commit is contained in:
Noisyfoxandweizhen.xie committed 2026-07-07 22:02:10 +08:00
1 parent 4227a192cd
commit 7f67946dbf
3 files changed
+15

No files matched your search

+2
View File
@@ -470,6 +470,8 @@ void Preset::normalize(DynamicPrintConfig &config)
continue;
if (filament_options_with_variant.find(key) != filament_options_with_variant.end())
continue;
if (filament_dev_options.find(key) != filament_dev_options.end())
continue;
auto *opt = config.option(key, false);
/*assert(opt != nullptr);
assert(opt->is_vector());*/