diff options
Diffstat (limited to 'src/render/io/gltfparser.cpp')
-rw-r--r-- | src/render/io/gltfparser.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/render/io/gltfparser.cpp b/src/render/io/gltfparser.cpp index 8a0796f1e..0728ff05e 100644 --- a/src/render/io/gltfparser.cpp +++ b/src/render/io/gltfparser.cpp @@ -799,14 +799,14 @@ void GLTFParser::processJSONTechnique( QString id, QJsonObject jsonObj ) // But a string Parameter* p = new Parameter(t, pname, parseType(po.value(KEY_TYPE).toString().toUtf8())); Parameter::StandardUniform su = parseSemanticName(semantic.toUtf8()); - if (su != Parameter::None) { - p->setStandardUniform(su); - } else { - // should really verify it's an attribute parameter? - // but what would be the way to do that? - // check the accessor dict? - p->setMeshAttributeName(semantic); - } +// if (su != Parameter::None) { +// p->setStandardUniform(su); +// } else { +// // should really verify it's an attribute parameter? +// // but what would be the way to do that? +// // check the accessor dict? +// p->setMeshAttributeName(semantic); +// } t->addParameter(p); |