Fix option nullable

This commit is contained in:
Noisyfox committed 2025-10-10 16:57:16 +08:00
1 parent dd08cca05e
commit 56d8bd8fbe
14 files changed
+36 -36

No files matched your search

+1 -1
View File
@@ -86,7 +86,7 @@ DynamicPrintConfig PresetBundle::construct_full_config(
filament_maps.resize(num_filaments, 1);
}
auto *extruder_diameter = dynamic_cast<const ConfigOptionFloatsNullable *>(out.option("nozzle_diameter"));
auto *extruder_diameter = dynamic_cast<const ConfigOptionFloats *>(out.option("nozzle_diameter"));
// Collect the "compatible_printers_condition" and "inherits" values over all presets (print, filaments, printers) into a single vector.
std::vector<std::string> compatible_printers_condition;
std::vector<std::string> compatible_prints_condition;