summaryrefslogtreecommitdiffstats
path: root/src/render/io/gltfparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/io/gltfparser.cpp')
-rw-r--r--src/render/io/gltfparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/io/gltfparser.cpp b/src/render/io/gltfparser.cpp
index acfb04bf5..b4a32addd 100644
--- a/src/render/io/gltfparser.cpp
+++ b/src/render/io/gltfparser.cpp
@@ -676,7 +676,7 @@ void GLTFParser::processJSONMesh( QString id, QJsonObject jsonObj )
if (!m_attributeDict.contains(k)) {
qCWarning(Render::Io) << "unknown index accessor:" << k << "on mesh" << id;
} else {
- md->setIndexAttr(m_attributeDict[k]);
+ md->setIndexAttribute(m_attributeDict[k]);
// m_attributeDict[k]->dump(100);
}
} // of has indices