mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 04:35:54 +08:00
SPE-2647 - Fixed wrong Z offset in preview
This commit is contained in:
parent
0766ff5339
commit
5938fdb495
@ -2849,6 +2849,7 @@ void GCodeProcessor::process_G1(const std::array<std::optional<double>, 4>& axes
|
||||
for (unsigned char a = X; a < E; ++a) {
|
||||
m_end_position[a] = double(new_pos[a]);
|
||||
}
|
||||
m_end_position[Z] += m_z_offset;
|
||||
store_move_vertex(EMoveType::Seam);
|
||||
m_end_position = curr_pos;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user