Launching and directly loading GCode will result in missing information. (#8745)

Fix the issue where launching the software and directly loading a GCode file fails to display inner and outer wall information.
This commit is contained in:
anjis 2025-03-08 14:01:16 +08:00 committed by GitHub
parent 74d9a88480
commit 38fb975d2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -2942,6 +2942,7 @@ void Print::export_gcode_from_previous_file(const std::string& file, GCodeProces
{
try {
GCodeProcessor processor;
GCodeProcessor::s_IsBBLPrinter = is_BBL_printer();
const Vec3d origin = this->get_plate_origin();
processor.set_xy_offset(origin(0), origin(1));
//processor.enable_producers(true);