mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: invalid pop up when changing machine profile
1. Machine with multi extruder should set length of extruder offset to extruder num 2. Register retract_restart_extra jira:NONE Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: Ic3eb324cb91dc70b091c8922936d2709c361cc38 (cherry picked from commit 13df1ee7bab2bf13c9f5ffca6ad1228ff48e885e)
This commit is contained in:
@@ -6808,7 +6808,7 @@ std::string GCode::set_object_info(Print *print) {
|
||||
// convert a model-space scaled point into G-code coordinates
|
||||
Vec2d GCode::point_to_gcode(const Point &point) const
|
||||
{
|
||||
Vec2d extruder_offset = FILAMENT_CONFIG(extruder_offset);
|
||||
Vec2d extruder_offset = EXTRUDER_CONFIG(extruder_offset);
|
||||
return unscale(point) + m_origin - extruder_offset;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user