Fix: Added a warning if the Hollow base pattern is selected for the non-tree supports (#12710)

Fixes point 4 of #12684
This commit is contained in:
Valerii Bokhan
2026-03-10 16:56:00 +01:00
committed by GitHub
parent c9bf6f088a
commit b919148c66

View File

@@ -1526,6 +1526,10 @@ StringObjectException Print::validate(StringObjectException *warning, Polygons*
// Orca: check if the Lightning base pattern selected
warning->string = L("The Lightning base pattern is not supported by this support type; Rectilinear will be used instead.");
warning->opt_key = "support_base_pattern";
} else if (object->config().support_base_pattern == SupportMaterialPattern::smpNone && warning) {
// Orca: check if the Hollow base pattern selected
warning->string = L("The Hollow base pattern is not supported by this support type; Rectilinear will be used instead.");
warning->opt_key = "support_base_pattern";
}
}