diff options
-rw-r--r-- | src/plugins/sceneparsers/gltf/gltfparser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/sceneparsers/gltf/gltfparser.cpp b/src/plugins/sceneparsers/gltf/gltfparser.cpp index 711a03c86..762760a77 100644 --- a/src/plugins/sceneparsers/gltf/gltfparser.cpp +++ b/src/plugins/sceneparsers/gltf/gltfparser.cpp @@ -1241,6 +1241,8 @@ QAttribute::DataType GLTFParser::accessorTypeFromJSON(int componentType) return QAttribute::Short; } else if (componentType == GL_UNSIGNED_SHORT) { return QAttribute::UnsignedShort; + } else if (componentType == GL_UNSIGNED_INT) { + return QAttribute::UnsignedInt; } else if (componentType == GL_FLOAT) { return QAttribute::Float; } |