ENH: Add automatic slicing behavior for some steps

jira: none
Change-Id: If94726eee45724985b3b49b36695086da24f7848
(cherry picked from commit 0476a83264660841c5601168ab6f11a9c70411ff)
This commit is contained in:
zhimin.zeng
2024-11-19 14:40:43 +08:00
committed by Noisyfox
parent 0b014edecd
commit ac19851e52
3 changed files with 20 additions and 7 deletions

View File

@@ -4408,7 +4408,7 @@ void GCodeViewer::render_legend_color_arr_recommen(float window_padding)
Plater *plater = wxGetApp().plater();
wxCommandEvent evt(EVT_OPEN_FILAMENT_MAP_SETTINGS_DIALOG);
evt.SetEventObject(plater);
evt.SetInt(0);
evt.SetInt(0b0010); //0010 means from gcode view, manual mode
wxPostEvent(plater, evt);
}
}