mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-10 11:03:51 +00:00
feat(editor): add --summary flag to --audit-watertight
CI-friendly one-line rollup mode for the welded watertight audit. Replaces the per-mesh PASS/FAIL detail lines with a single status line: watertight: FAIL (121 meshes, 27 failure(s)) [/tmp/migtest, weld 0.001000] watertight: PASS (6 meshes, 0 failure(s)) [/tmp/camp, weld 0.001000] Format: "watertight: <PASS|FAIL> (<N> meshes, <K> failure(s)) [<root>, weld <eps>]". Exit code unchanged — failure count capped at 255, matching the verbose-mode contract. Useful for build dashboards / CI grep lines / Slack-bot notifications where the full per-mesh dump would be too noisy. Verbose mode is still the default; opt in with --summary.
This commit is contained in:
parent
8d75dd3867
commit
88ba27f9ea
2 changed files with 15 additions and 2 deletions
|
|
@ -589,8 +589,8 @@ void printUsage(const char* argv0) {
|
|||
std::printf(" Convert a multi-group WOB building into a single WOC collision file (weld is per-group)\n");
|
||||
std::printf(" --bake-zone-collision <zoneDir> [out.woc] [--weld <eps>] [--steep <deg>]\n");
|
||||
std::printf(" Walk every .wom + .wob under zoneDir, weld each independently, append to one shared WOC\n");
|
||||
std::printf(" --audit-watertight <zoneDir|projectDir> [--weld <eps>] [--json]\n");
|
||||
std::printf(" Walk every .wom under root, run welded watertight check; exit code = failure count (CI-friendly)\n");
|
||||
std::printf(" --audit-watertight <zoneDir|projectDir> [--weld <eps>] [--json] [--summary]\n");
|
||||
std::printf(" Walk every .wom under root, run welded watertight check; --summary prints a one-line rollup\n");
|
||||
std::printf(" --audit-watertight-wob <zoneDir|projectDir> [--weld <eps>] [--json]\n");
|
||||
std::printf(" Walk every .wob, check that EVERY group is closed (per-group weld) — interior rooms must be solid\n");
|
||||
std::printf(" --import-obj <obj-path> [wom-base]\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue