diff options
author | Enrico Turri <enricoturri@seznam.cz> | 2018-06-26 13:50:04 +0300 |
---|---|---|
committer | Enrico Turri <enricoturri@seznam.cz> | 2018-06-26 13:50:04 +0300 |
commit | bd1d70d8d36dbcf055b521f7ce50b4cfb611e714 (patch) | |
tree | 64936e14145ad9817c90787301ce8f558017954d /xs/src | |
parent | 87c1654e31d489bca2575d09c382f311f1e6279d (diff) |
Fixed crash when slicing from Layers tab
Diffstat (limited to 'xs/src')
-rw-r--r-- | xs/src/slic3r/GUI/GLCanvas3D.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xs/src/slic3r/GUI/GLCanvas3D.cpp b/xs/src/slic3r/GUI/GLCanvas3D.cpp index f5db97731..2148579e8 100644 --- a/xs/src/slic3r/GUI/GLCanvas3D.cpp +++ b/xs/src/slic3r/GUI/GLCanvas3D.cpp @@ -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()) |