From c38bd9adde9d73639b32a09722d568596e7cbc37 Mon Sep 17 00:00:00 2001 From: PavelMikus Date: Wed, 25 Jan 2023 17:05:13 +0100 Subject: [PATCH] missing space in description --- src/libslic3r/PrintObject.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/libslic3r/PrintObject.cpp b/src/libslic3r/PrintObject.cpp index 887caa8bf..474e02f58 100644 --- a/src/libslic3r/PrintObject.cpp +++ b/src/libslic3r/PrintObject.cpp @@ -431,16 +431,16 @@ void PrintObject::generate_support_spots() auto alert_fn = [&](PrintStateBase::WarningLevel level, SupportSpotsGenerator::SupportPointCause cause) { switch (cause) { case SupportSpotsGenerator::SupportPointCause::LongBridge: - this->active_step_add_warning(level, L("There are bridges longer than recommended length. Consider adding supports.") + + this->active_step_add_warning(level, L("There are bridges longer than recommended length. Consider adding supports. ") + (L("Object name")) + ": " + this->model_object()->name); break; case SupportSpotsGenerator::SupportPointCause::FloatingBridgeAnchor: - this->active_step_add_warning(level, L("Unsupported bridges will collapse. Supports are needed.") + (L("Object name")) + + this->active_step_add_warning(level, L("Unsupported bridges will collapse. Supports are needed. ") + (L("Object name")) + ": " + this->model_object()->name); break; case SupportSpotsGenerator::SupportPointCause::FloatingExtrusion: if (level == PrintStateBase::WarningLevel::CRITICAL) { - this->active_step_add_warning(level, L("Clusters of unsupported extrusions found. Supports are needed.") + + this->active_step_add_warning(level, L("Clusters of unsupported extrusions found. Supports are needed. ") + (L("Object name")) + ": " + this->model_object()->name); } else { this->active_step_add_warning(level, L("Some unspported extrusions found. Consider adding supports. ") + @@ -448,15 +448,15 @@ void PrintObject::generate_support_spots() } break; case SupportSpotsGenerator::SupportPointCause::SeparationFromBed: - this->active_step_add_warning(level, L("Object part may break from the bed. Consider adding brim and/or supports.") + + this->active_step_add_warning(level, L("Object part may break from the bed. Consider adding brim and/or supports. ") + (L("Object name")) + ": " + this->model_object()->name); break; case SupportSpotsGenerator::SupportPointCause::UnstableFloatingPart: - this->active_step_add_warning(level, L("Floating object parts detected. Supports are needed.") + (L("Object name")) + + this->active_step_add_warning(level, L("Floating object parts detected. Supports are needed. ") + (L("Object name")) + ": " + this->model_object()->name); break; case SupportSpotsGenerator::SupportPointCause::WeakObjectPart: - this->active_step_add_warning(level, L("Thin parts of the object may break. Consider adding supports.") + + this->active_step_add_warning(level, L("Thin parts of the object may break. Consider adding supports. ") + (L("Object name")) + ": " + this->model_object()->name); break; }