- fbx: read deformers (Skin and Cluster).
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user