diag(probe): diag-detail 模式输出轻量体边界标记 [diag-body],支撑 C 类穿透逐体归因
This commit is contained in:
@@ -413,6 +413,9 @@ int wmain(int argc, wchar_t** wargv) {
|
||||
}
|
||||
try {
|
||||
BodyDiagnostics d = diagnose_body(b);
|
||||
if (diag_detail)
|
||||
std::fprintf(stderr, "[diag-body] %zu/%zu faces=%d\n", bi,
|
||||
bodies.size(), b.num_faces());
|
||||
int pen_pairs = 0;
|
||||
for (const auto& e : d.errors)
|
||||
if (e.kind == 0) pen_pairs = (int)e.faces.size();
|
||||
|
||||
Reference in New Issue
Block a user