Bugfix: unnecessary tool changes were generated when using the same tool for subsequent parts
This commit is contained in:
parent
e2ad22fcca
commit
b0f24a2666
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,7 @@ sub set_extruder {
|
|||
my ($extruder) = @_;
|
||||
|
||||
# return nothing if this extruder was already selected
|
||||
return "" if (defined $self->extruder) && ($self->extruder->id == $extruder);
|
||||
return "" if (defined $self->extruder) && ($self->extruder->id == $extruder->id);
|
||||
|
||||
# if we are running a single-extruder setup, just set the extruder and return nothing
|
||||
if (!$self->multiple_extruders) {
|
||||
|
|
Loading…
Reference in a new issue