mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
GCodeViewer -> Fixed bottom panel not disappearing when switching to gcode viewer from preview
This commit is contained in:
parent
48cc358b72
commit
4c51a258ef
1 changed files with 4 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue