From fdf853a430ee25282b45fb89ef3761f31cc12ba4 Mon Sep 17 00:00:00 2001 From: alves Date: Thu, 5 Feb 2026 18:25:04 +0800 Subject: [PATCH] fix build failed bug. --- src/slic3r/GUI/Plater.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index fcdc7a1b1a..1e85321182 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -6792,7 +6792,10 @@ void Plater::priv::reload_from_disk() wxBusyCursor wait; GLCanvas3D* canvas = q->get_current_canvas3D(); if (!canvas) - return false; + { + BOOST_LOG_TRIVIAL(error) << __FUNCTION__ << "canvas is nullptr"; + continue; + } wxBusyInfo info(_L("Reload from:") + " " + from_u8(path), canvas->get_wxglcanvas()); Model new_model;