From a35b1a185094ddd68e5762f3c4efde982d34a102 Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Tue, 5 Feb 2019 10:18:40 +0100 Subject: [PATCH] Fix of #1772 --- src/slic3r/GUI/GLCanvas3D.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index 137404a2e..84a2b61cf 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -4520,6 +4520,13 @@ void GLCanvas3D::render() return; #if ENABLE_REWORKED_BED_SHAPE_CHANGE + if (m_bed.get_shape().empty()) + { + // this happens at startup when no data is still saved under <>\AppData\Roaming\Slic3rPE + if (m_config != nullptr) + set_bed_shape(m_config->opt("bed_shape")->values); + } + if (m_requires_zoom_to_bed) { zoom_to_bed();