mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-10 18:56:13 +00:00
Fix incorrect early exit for CLI mode no-support preventing parameters from being read
This commit is contained in:
@@ -1757,9 +1757,7 @@ std::vector<int> PartPlate::get_extruders_under_cli(bool conside_custom_gcode, D
|
|||||||
else
|
else
|
||||||
obj_support = glb_support;
|
obj_support = glb_support;
|
||||||
|
|
||||||
if (!obj_support)
|
if (obj_support) {
|
||||||
continue;
|
|
||||||
|
|
||||||
int obj_support_intf_extr = 0;
|
int obj_support_intf_extr = 0;
|
||||||
const ConfigOption* support_intf_extr_opt = object->config.option("support_interface_filament");
|
const ConfigOption* support_intf_extr_opt = object->config.option("support_interface_filament");
|
||||||
if (support_intf_extr_opt != nullptr)
|
if (support_intf_extr_opt != nullptr)
|
||||||
@@ -1777,6 +1775,7 @@ std::vector<int> PartPlate::get_extruders_under_cli(bool conside_custom_gcode, D
|
|||||||
plate_extruders.push_back(obj_support_extr);
|
plate_extruders.push_back(obj_support_extr);
|
||||||
else if (glb_support_extr != 0)
|
else if (glb_support_extr != 0)
|
||||||
plate_extruders.push_back(glb_support_extr);
|
plate_extruders.push_back(glb_support_extr);
|
||||||
|
}
|
||||||
|
|
||||||
int obj_outer_wall_extr = 0;
|
int obj_outer_wall_extr = 0;
|
||||||
if (const ConfigOption* wall_opt = object->config.option("outer_wall_filament_id"); wall_opt != nullptr)
|
if (const ConfigOption* wall_opt = object->config.option("outer_wall_filament_id"); wall_opt != nullptr)
|
||||||
|
|||||||
Reference in New Issue
Block a user