Skip to content

Commit

Permalink
Add missing "normalized" accessor property to glTF document for the 3…
Browse files Browse the repository at this point in the history
….2 branch
  • Loading branch information
adamscott committed Dec 28, 2020
1 parent 74512fd commit d96fdcd
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 d96fdcd

Please sign in to comment.