|
@@ -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) {
|