mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-31 03:22:01 +08:00
Reload even empty preview
When Preview::load_print is called and even if the print has no layers, call load_gcode_preview to show an empty bed for print with no layers.
This commit is contained in:
parent
4348417ca8
commit
b4ab9883c2
@ -938,6 +938,7 @@ void Preview::load_print_as_fff(bool keep_z_range)
|
||||
}
|
||||
|
||||
if (wxGetApp().is_editor() && !has_layers) {
|
||||
m_canvas->reset_gcode_toolpaths();
|
||||
m_canvas->reset_gcode_layers_times_cache();
|
||||
m_canvas->load_gcode_shells();
|
||||
hide_layers_slider();
|
||||
|
Loading…
x
Reference in New Issue
Block a user