From 95abba5b962a1ea96843fd3ec71a0574e06b8e3c Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Thu, 15 Nov 2018 09:46:55 +0100 Subject: [PATCH] Fix for build error and perhaps the grayed out arrange button --- src/libslic3r/SLA/SLASupportTree.cpp | 1 + src/slic3r/GUI/Plater.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/libslic3r/SLA/SLASupportTree.cpp b/src/libslic3r/SLA/SLASupportTree.cpp index 9bb590d30..1d88e886f 100644 --- a/src/libslic3r/SLA/SLASupportTree.cpp +++ b/src/libslic3r/SLA/SLASupportTree.cpp @@ -781,6 +781,7 @@ public: model_height = bb.max(Z); meshcache_valid = true; + return meshcache; } double full_height() const { diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 2def6623c..4154ef4d0 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -996,6 +996,7 @@ Plater::priv::priv(Plater *q, MainFrame *main_frame) : sidebar(new Sidebar(q)), canvas3D(GLCanvas3DManager::create_wxglcanvas(notebook)) { + arranging.store(false); background_process.set_fff_print(&print); background_process.set_sla_print(&sla_print); background_process.set_gcode_preview_data(&gcode_preview_data);