Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
SoftFever
2026-03-18 17:50:39 +08:00
committed by GitHub
parent 13b08385c8
commit 70b9bedf94

View File

@@ -1238,7 +1238,7 @@ StringObjectException Print::validate(StringObjectException *warning, Polygons*
for (const PrintObject* object : m_objects) { for (const PrintObject* object : m_objects) {
if (object->config().precise_z_height.value && warning != nullptr) { if (object->config().precise_z_height.value && warning != nullptr) {
StringObjectException warningtemp; StringObjectException warningtemp;
warningtemp.string = L("Enabling both precise Z height and the prime tower may cause the slicing errors."); warningtemp.string = L("Enabling both precise Z height and the prime tower may cause slicing errors.");
warningtemp.opt_key = "precise_z_height"; warningtemp.opt_key = "precise_z_height";
warningtemp.is_warning = true; warningtemp.is_warning = true;
*warning = warningtemp; *warning = warningtemp;