mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: Use the same api to get the extruder id
jira: none Change-Id: I05b3040b176374deee3e95bc52364fe7b33bb257 (cherry picked from commit 8b2544df41456377b09719de15460b19b7c71e09)
This commit is contained in:
@@ -927,6 +927,7 @@ bool PrintObject::invalidate_state_by_config_options(
|
||||
} else if (opt_key == "gap_infill_speed"
|
||||
|| opt_key == "filter_out_gap_fill" ) {
|
||||
// Return true if gap-fill speed has changed from zero value to non-zero or from non-zero value to zero.
|
||||
// todo multi_extruders: Parameter migration between single and double extruder printers
|
||||
auto is_gap_fill_changed_state_due_to_speed = [&opt_key, &old_config, &new_config]() -> bool {
|
||||
if (opt_key == "gap_infill_speed") {
|
||||
const auto *old_gap_fill_speed = old_config.option<ConfigOptionFloat>(opt_key);
|
||||
|
||||
Reference in New Issue
Block a user