Skip to content

Commit

Permalink
Merge pull request #44746 from adamscott/fix-accessor-normalized-3.2
Browse files Browse the repository at this point in the history
[3.2] Add missing "normalized" accessor property to glTF document
  • Loading branch information
akien-mga authored Dec 28, 2020
2 parents 74512fd + d96fdcd commit fb9f723
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions editor/import/editor_scene_importer_gltf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,10 @@ Error EditorSceneImporterGLTF::_parse_accessors(GLTFState &state) {
accessor.byte_offset = d["byteOffset"];
}

if (d.has("normalized")) {
accessor.normalized = d["normalized"];
}

if (d.has("max")) {
accessor.max = d["max"];
}
Expand Down

0 comments on commit fb9f723

Please sign in to comment.