mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 11:56:06 +08:00
Bugfix: unnecessary tool changes were generated when using the same tool for subsequent parts
This commit is contained in:
parent
e2ad22fcca
commit
b0f24a2666
@ -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…
x
Reference in New Issue
Block a user