|
@ -93,7 +93,7 @@ void GcodeSuite::G92() { |
|
|
v = TERN0(HAS_EXTRUDERS, i == E_AXIS) ? l : LOGICAL_TO_NATIVE(l, i), // Axis position in NATIVE space (applying the existing offset)
|
|
|
v = TERN0(HAS_EXTRUDERS, i == E_AXIS) ? l : LOGICAL_TO_NATIVE(l, i), // Axis position in NATIVE space (applying the existing offset)
|
|
|
d = v - current_position[i]; // How much is the current axis position altered by?
|
|
|
d = v - current_position[i]; // How much is the current axis position altered by?
|
|
|
if (!NEAR_ZERO(d)) { |
|
|
if (!NEAR_ZERO(d)) { |
|
|
#if HAS_POSITION_SHIFT && !IS_SCARA // When using workspaces...
|
|
|
#if HAS_POSITION_SHIFT && NONE(IS_SCARA, POLARGRAPH) // When using workspaces...
|
|
|
if (TERN1(HAS_EXTRUDERS, i != E_AXIS)) { |
|
|
if (TERN1(HAS_EXTRUDERS, i != E_AXIS)) { |
|
|
position_shift[i] += d; // ...most axes offset the workspace...
|
|
|
position_shift[i] += d; // ...most axes offset the workspace...
|
|
|
update_workspace_offset((AxisEnum)i); |
|
|
update_workspace_offset((AxisEnum)i); |
|
|