- fbx: work on resolving material links.

This commit is contained in:
Alexander Gessler
2012-07-04 15:07:57 +02:00
parent 2f5ec6f136
commit 17629f1ff1
7 changed files with 120 additions and 18 deletions

View File

@@ -410,7 +410,7 @@ const Object* LazyObject::Get()
const size_t length = static_cast<size_t>(key.end()-key.begin());
if (!strncmp(obtype,"Geometry",length)) {
if (!strcmp(classtag.c_str(),"Mesh")) {
object.reset(new MeshGeometry(id,element,name,doc.Settings()));
object.reset(new MeshGeometry(id,element,name,doc));
}
}
else if (!strncmp(obtype,"Material",length)) {