mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
Added menu command Configuration/Language to standalone gcode viewer
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user