Skip to content

Commit

Permalink
Fix issue that skip object won't trigger filament change when print-b…
Browse files Browse the repository at this point in the history
…y-object is used (#5576)

* Fix issue that skip object won't trigger filament change when print-by-object is used
  • Loading branch information
Noisyfox committed Jun 4, 2024
1 parent a877d64 commit 2f265ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libslic3r/GCode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2577,7 +2577,7 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
if (m_writer.need_toolchange(initial_extruder_id)) {
const PrintObjectConfig& object_config = object.config();
coordf_t initial_layer_print_height = print.config().initial_layer_print_height.value;
file.write(this->set_extruder(initial_extruder_id, initial_layer_print_height));
file.write(this->set_extruder(initial_extruder_id, initial_layer_print_height, true));
prime_extruder = true;
}
else {
Expand Down

0 comments on commit 2f265ef

Please sign in to comment.