From 28a502680a1dcc30098469952a6d677997142719 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Thu, 22 Nov 2018 10:35:04 +0100 Subject: [PATCH] Fixed a crash on SLA with background processing on and with an empty scene. --- src/libslic3r/SLAPrint.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/SLAPrint.hpp b/src/libslic3r/SLAPrint.hpp index 4073e068c..c439c80fb 100644 --- a/src/libslic3r/SLAPrint.hpp +++ b/src/libslic3r/SLAPrint.hpp @@ -147,7 +147,7 @@ public: PrinterTechnology technology() const noexcept { return ptSLA; } void clear() override; - bool empty() const override { return false; } + bool empty() const override { return m_objects.empty(); } ApplyStatus apply(const Model &model, const DynamicPrintConfig &config) override; void process() override;