Fix warning: remove printf

kimkulling/allow_empty_meshes_issue-797
Kim Kulling 2023-11-09 22:42:24 +01:00
parent 518c26ede6
commit f724105053
1 changed files with 1 additions and 3 deletions

View File

@ -241,9 +241,7 @@ aiNode *XGLImporter::ReadObject(XmlNode &node, TempScope &scope) {
for (size_t i = 0; i < newc - prev; ++i) { for (size_t i = 0; i < newc - prev; ++i) {
meshes.push_back(static_cast<unsigned int>(i + prev)); meshes.push_back(static_cast<unsigned int>(i + prev));
} }
} else { }
printf("skipping empty mesh\n");
}
} else if (s == "mat") { } else if (s == "mat") {
const uint32_t matId = ReadMaterial(child, scope); const uint32_t matId = ReadMaterial(child, scope);
if (matId == ErrorId) { if (matId == ErrorId) {