- fbx: read deformers (Skin and Cluster).

This commit is contained in:
Alexander Gessler
2012-07-26 18:05:24 +02:00
parent 8d1db6229c
commit 06acead438
7 changed files with 302 additions and 2 deletions

View File

@@ -96,6 +96,7 @@ void Model::ResolveLinks(const Element& element, const Document& doc)
materials.reserve(conns.size());
geometry.reserve(conns.size());
attributes.reserve(conns.size());
BOOST_FOREACH(const Connection* con, conns) {
// material and geometry links should be Object-Object connections
@@ -105,7 +106,7 @@ void Model::ResolveLinks(const Element& element, const Document& doc)
const Object* const ob = con->SourceObject();
if(!ob) {
DOMWarning("failed to read source object for incoming model link, ignoring",&element);
DOMWarning("failed to read source object for incoming Model link, ignoring",&element);
continue;
}
@@ -127,7 +128,7 @@ void Model::ResolveLinks(const Element& element, const Document& doc)
continue;
}
DOMWarning("source object for model link is neither Material or Geometry, ignoring",&element);
DOMWarning("source object for model link is neither Material, NodeAttribute nor Geometry, ignoring",&element);
continue;
}
}