mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 15:13:58 -06:00
Fixed crash when slicing from Layers tab
This commit is contained in:
parent
87c1654e31
commit
bd1d70d8d3
3 changed files with 2 additions and 2 deletions
|
@ -2376,7 +2376,7 @@ void GLCanvas3D::load_gcode_preview(const GCodePreviewData& preview_data, const
|
|||
if ((m_canvas != nullptr) && (m_print != nullptr))
|
||||
{
|
||||
// ensures that this canvas is current
|
||||
if (!_3DScene::set_current(m_canvas, false))
|
||||
if (!_3DScene::set_current(m_canvas, true))
|
||||
return;
|
||||
|
||||
if (m_volumes.empty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue