mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00
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) = @_;
|
my ($extruder) = @_;
|
||||||
|
|
||||||
# return nothing if this extruder was already selected
|
# 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 we are running a single-extruder setup, just set the extruder and return nothing
|
||||||
if (!$self->multiple_extruders) {
|
if (!$self->multiple_extruders) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue