mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
NEW:use new homing command
jira:[none] Change-Id: I9d60d0b5c2d0e2cf7ac5c5e4b0dbcf2daf6edbb1 (cherry picked from commit 9dce95d401e8333077db63dbad57bda837d0ce19)
This commit is contained in:
@@ -3314,7 +3314,13 @@ void StatusPanel::on_axis_ctrl_xy(wxCommandEvent &event)
|
||||
if (event.GetInt() == 5) { obj->command_axis_control("X", 1.0, -1.0f, 3000); }
|
||||
if (event.GetInt() == 6) { obj->command_axis_control("Y", 1.0, -1.0f, 3000); }
|
||||
if (event.GetInt() == 7) { obj->command_axis_control("X", 1.0, 1.0f, 3000); }
|
||||
if (event.GetInt() == 8) { obj->command_go_home(); }
|
||||
if (event.GetInt() == 8) {
|
||||
if (obj->is_enable_np) {
|
||||
obj->command_go_home2();
|
||||
} else {
|
||||
obj->command_go_home();
|
||||
}
|
||||
}
|
||||
|
||||
//check is at home
|
||||
if (event.GetInt() == 1
|
||||
|
||||
Reference in New Issue
Block a user