mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 17:13:51 +00:00
chore(cli): --convert-m2 reports WOM version + batch count in success message
This commit is contained in:
parent
ee686051a5
commit
b30b44ab7e
1 changed files with 3 additions and 2 deletions
|
|
@ -72,8 +72,9 @@ int main(int argc, char* argv[]) {
|
|||
auto dot = outPath.rfind('.');
|
||||
if (dot != std::string::npos) outPath = outPath.substr(0, dot);
|
||||
wowee::pipeline::WoweeModelLoader::save(wom, "output/models/" + outPath);
|
||||
std::printf("OK: output/models/%s.wom (%zu verts, %zu bones)\n",
|
||||
outPath.c_str(), wom.vertices.size(), wom.bones.size());
|
||||
std::printf("OK: output/models/%s.wom (v%u, %zu verts, %zu bones, %zu batches)\n",
|
||||
outPath.c_str(), wom.version, wom.vertices.size(),
|
||||
wom.bones.size(), wom.batches.size());
|
||||
} else {
|
||||
std::fprintf(stderr, "FAILED: %s\n", m2Path.c_str());
|
||||
am.shutdown();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue