mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-09 10:16:50 +00:00
FIX: [4492 4851 4883 5121] create printer issue
Jira: 4492 4851 4883 5121 Change-Id: If252b5f30be0403f79410aa8c00fc14b066d5bbd Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
This commit is contained in:
@@ -1332,6 +1332,7 @@ VendorProfile PresetBundle::get_custom_vendor_models() const
|
||||
for (auto &preset : printers.get_presets()) {
|
||||
if (preset.is_system) continue;
|
||||
if (printers.get_preset_base(preset) != &preset) continue;
|
||||
if (preset.is_default) continue;
|
||||
auto model = preset.config.opt_string("printer_model");
|
||||
auto variant = preset.config.opt_string("printer_variant");
|
||||
auto iter_model = std::find_if(vendor.models.begin(), vendor.models.end(), [model](VendorProfile::PrinterModel &m) {
|
||||
|
||||
Reference in New Issue
Block a user