mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
Calls to GLCanvas3D::_set_current() made only after the canvas has been initialized
This commit is contained in:
parent
b8d6c6bbb2
commit
b3c3881282
2 changed files with 11 additions and 7 deletions
|
@ -419,10 +419,6 @@ void Preview::reload_print(bool force)
|
|||
m_canvas->reset_legend_texture();
|
||||
m_loaded = false;
|
||||
|
||||
#if ENABLE_REWORKED_BED_SHAPE_CHANGE
|
||||
m_canvas->set_bed_shape(dynamic_cast<const ConfigOptionPoints*>(m_config->option("bed_shape"))->values);
|
||||
#endif // ENABLE_REWORKED_BED_SHAPE_CHANGE
|
||||
|
||||
if (!IsShown() && !force)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue