mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 16:27:54 -06:00
Added menu command Configuration/Language to standalone gcode viewer
This commit is contained in:
parent
f16ef0643c
commit
21366f56e7
6 changed files with 53 additions and 25 deletions
|
@ -1212,8 +1212,12 @@ void Preview::update_double_slider_from_canvas(wxKeyEvent & event)
|
|||
void Preview::load_print_as_fff(bool keep_z_range)
|
||||
{
|
||||
#if ENABLE_GCODE_VIEWER
|
||||
#if ENABLE_GCODE_APP_CONFIG
|
||||
if (wxGetApp().mainframe == nullptr || wxGetApp().is_recreating_gui())
|
||||
#else
|
||||
if (wxGetApp().mainframe == nullptr)
|
||||
// avoid proessing while mainframe is being constructed
|
||||
#endif // ENABLE_GCODE_APP_CONFIG
|
||||
// avoid processing while mainframe is being constructed
|
||||
return;
|
||||
#endif // ENABLE_GCODE_VIEWER
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue