From 2b833b8c1112fbd5464609fcc62120b65cfe28b8 Mon Sep 17 00:00:00 2001 From: Lukas Matena Date: Mon, 10 Mar 2025 14:19:55 +0100 Subject: [PATCH] Changed an error message textation --- src/libslic3r/SLA/SupportIslands/UniformSupportIsland.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libslic3r/SLA/SupportIslands/UniformSupportIsland.cpp b/src/libslic3r/SLA/SupportIslands/UniformSupportIsland.cpp index 13cf9b5572..0985d6e597 100644 --- a/src/libslic3r/SLA/SupportIslands/UniformSupportIsland.cpp +++ b/src/libslic3r/SLA/SupportIslands/UniformSupportIsland.cpp @@ -2124,7 +2124,9 @@ coord_t get_longest_distance(const IslandPartChanges& changes, Position* center assert(node_distance != nullptr); if (node_distance == nullptr) // weird situation - hack to not crash on SPE-2714 - throw Slic3r::RuntimeError("Can't sample island."); + throw Slic3r::RuntimeError("SLA support point generator has failed." + "\n\nThe generator was unable to sample an island. You may try to work around the problem " + "by changing the orientation of the model slightly.\n\nWe are sorry for the inconvenience."); //if (node_distance == nullptr) // return farest_from_change;