mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-29 17:44:36 +08:00
GCodeViewer -> Fixed bottom panel not disappearing when switching to gcode viewer from preview
This commit is contained in:
parent
48cc358b72
commit
4c51a258ef
@ -2708,6 +2708,10 @@ void Plater::priv::reset()
|
|||||||
if (view3D->is_layers_editing_enabled())
|
if (view3D->is_layers_editing_enabled())
|
||||||
view3D->enable_layers_editing(false);
|
view3D->enable_layers_editing(false);
|
||||||
|
|
||||||
|
#if ENABLE_GCODE_VIEWER_AS_STATE
|
||||||
|
gcode_result.reset();
|
||||||
|
#endif // ENABLE_GCODE_VIEWER_AS_STATE
|
||||||
|
|
||||||
// Stop and reset the Print content.
|
// Stop and reset the Print content.
|
||||||
this->background_process.reset();
|
this->background_process.reset();
|
||||||
model.clear_objects();
|
model.clear_objects();
|
||||||
@ -2720,10 +2724,6 @@ void Plater::priv::reset()
|
|||||||
this->sidebar->show_sliced_info_sizer(false);
|
this->sidebar->show_sliced_info_sizer(false);
|
||||||
|
|
||||||
model.custom_gcode_per_print_z.gcodes.clear();
|
model.custom_gcode_per_print_z.gcodes.clear();
|
||||||
|
|
||||||
#if ENABLE_GCODE_VIEWER_AS_STATE
|
|
||||||
gcode_result.reset();
|
|
||||||
#endif // ENABLE_GCODE_VIEWER_AS_STATE
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Plater::priv::mirror(Axis axis)
|
void Plater::priv::mirror(Axis axis)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user