Skip to content

Commit

Permalink
Fix vector too long issues
Browse files Browse the repository at this point in the history
  • Loading branch information
SoftFever committed Nov 6, 2023
1 parent fcc4b03 commit 4eae930
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 @@ -2187,7 +2187,7 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
bbox_wo_wt.merge(unscaled(objPtr->get_first_layer_bbox(data.area, data.layer_height, data.name)));
}
auto center = bbox_wo_wt.center();
this->placeholder_parser().set("first_layer_center_no_wipe_tower", new ConfigOptionFloats(center.x(), center.y()));
this->placeholder_parser().set("first_layer_center_no_wipe_tower", new ConfigOptionFloats({center.x(), center.y()}));
}
bool activate_chamber_temp_control = false;
auto max_chamber_temp = 0;
Expand Down

0 comments on commit 4eae930

Please sign in to comment.