- 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

@@ -94,7 +94,7 @@ Material::Material(uint64_t id, const Element& element, const Document& doc, con
props = GetPropertyTable(doc,templateName,element,sc);
// resolve texture links
const std::vector<const Connection*> conns = doc.GetConnectionsByDestinationSequenced(ID());
const std::vector<const Connection*>& conns = doc.GetConnectionsByDestinationSequenced(ID());
BOOST_FOREACH(const Connection* con, conns) {
// texture link to properties, not objects