mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 06:55:53 +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) = @_;
|
||||
|
||||
# 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…
x
Reference in New Issue
Block a user