QoL: show transparent shell in gcode preview and truncate long gcode line caused by native Klipper commands

This commit is contained in:
SoftFever 2023-08-29 21:25:47 +08:00
parent 40b08bb0e1
commit 95d12c24f6
23 changed files with 157 additions and 133 deletions

View file

@ -900,7 +900,8 @@ public:
void mirror_selection(Axis axis);
void reload_scene(bool refresh_immediately, bool force_full_scene_refresh = false);
//BBS: always load shell at preview
//Orca: shell preview improvement
void set_shell_transparence(float alpha = 0.2f);
void load_shells(const Print& print, bool force_previewing = false);
void reset_shells() { m_gcode_viewer.reset_shell(); }
void set_shells_on_previewing(bool is_preview) { m_gcode_viewer.set_shells_on_preview(is_preview); }