- fbx: create dummy root node and assign converted meshes. This is a temporary solution to be able to test mesh reading.

This commit is contained in:
Alexander Gessler
2012-06-28 23:44:23 +02:00
parent 524285c90d
commit 7a3e3b1353
3 changed files with 25 additions and 3 deletions

View File

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