Ignore the precise outer wall option when the wall sequence is not set to InnerOuter. (#10687)

This commit is contained in:
SoftFever
2025-09-11 20:10:51 +08:00
committed by GitHub
parent 4f50fdc94e
commit d2eb007d57
4 changed files with 9 additions and 4 deletions

View File

@@ -1600,6 +1600,12 @@ StringObjectException Print::validate(StringObjectException *warning, Polygons*
// }
// }
// check wall sequence and precise outer wall
if (m_default_region_config.precise_outer_wall && m_default_region_config.wall_sequence != WallSequence::InnerOuter) {
warning->string = L("Precise outer wall will be ignored when wall sequence is InnerOuter.");
warning->opt_key = "precise_outer_wall";
}
} catch (std::exception& e) {
BOOST_LOG_TRIVIAL(warning) << "Orca: validate motion ability failed: " << e.what() << std::endl;
}