Add missing "normalized" accessor property to glTF document for the 3.2 branch

This commit is contained in:
Adam Scott 2020-12-27 23:25:38 -05:00
parent 74512fd876
commit d96fdcd45e

View file

@ -506,6 +506,10 @@ Error EditorSceneImporterGLTF::_parse_accessors(GLTFState &state) {
accessor.byte_offset = d["byteOffset"]; accessor.byte_offset = d["byteOffset"];
} }
if (d.has("normalized")) {
accessor.normalized = d["normalized"];
}
if (d.has("max")) { if (d.has("max")) {
accessor.max = d["max"]; accessor.max = d["max"];
} }