From 3e3728f0a7b5453402c875c0805678fbdd0f8da5 Mon Sep 17 00:00:00 2001 From: "zhimin.zeng" Date: Tue, 21 Feb 2023 11:54:28 +0800 Subject: [PATCH] FIX: add a warning for XY size compensation with multi-color Change-Id: I11000600f49fc1b0a8869d09a69fb37167ded22a --- src/libslic3r/PrintObjectSlice.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libslic3r/PrintObjectSlice.cpp b/src/libslic3r/PrintObjectSlice.cpp index 5ae855f6a6..f5d820cc46 100644 --- a/src/libslic3r/PrintObjectSlice.cpp +++ b/src/libslic3r/PrintObjectSlice.cpp @@ -967,10 +967,10 @@ void PrintObject::slice_volumes() // If XY Size compensation is also enabled, notify the user that XY Size compensation // would not be used because the object is multi-material painted. if (m_config.xy_hole_compensation.value != 0.f || m_config.xy_contour_compensation.value != 0.f) { - //this->active_step_add_warning( - // PrintStateBase::WarningLevel::CRITICAL, - // L("An object has enabled XY Size compensation which will not be used because it is also multi-material painted.\nXY Size " - // "compensation cannot be combined with multi-material painting.")); + this->active_step_add_warning( + PrintStateBase::WarningLevel::CRITICAL, + L("An object has enabled XY Size compensation which will not be used because it is also multi-material painted.\nXY Size " + "compensation cannot be combined with multi-material painting.")); BOOST_LOG_TRIVIAL(info) << "xy compensation will not work for object " << this->model_object()->name << " for multi filament."; }