mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-22 19:50:44 +00:00
Fix option nullable
This commit is contained in:
@@ -41,7 +41,7 @@ extern std::string& get_right_extruder_unprintable_text();
|
||||
bool try_pop_up_before_slice(bool is_slice_all, Plater* plater_ref, PartPlate* partplate_ref, bool force_pop_up)
|
||||
{
|
||||
auto full_config = wxGetApp().preset_bundle->full_config();
|
||||
const auto nozzle_diameters = full_config.option<ConfigOptionFloatsNullable>("nozzle_diameter");
|
||||
const auto nozzle_diameters = full_config.option<ConfigOptionFloats>("nozzle_diameter");
|
||||
if (nozzle_diameters->size() <= 1)
|
||||
return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user