Merge pull request #2107 from thinkyhead/fix_issue_2106

Have G92 set the nozzle position on Delta and SCARA
This commit is contained in:
Scott Lahteine 2015-05-17 17:39:09 -07:00
commit 7ff18f6657

View File

@ -2827,7 +2827,13 @@ inline void gcode_G92() {
didXYZ = true;
}
}
if (didXYZ) sync_plan_position();
if (didXYZ) {
#if defined(DELTA) || defined(SCARA)
sync_plan_position_delta();
#else
sync_plan_position();
#endif
}
}
#ifdef ULTIPANEL