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