From d96fdcd45e4c038f9b04ff27f35fed6b213f90b3 Mon Sep 17 00:00:00 2001 From: Adam Scott Date: Sun, 27 Dec 2020 23:25:38 -0500 Subject: [PATCH] Add missing "normalized" accessor property to glTF document for the 3.2 branch --- editor/import/editor_scene_importer_gltf.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/editor/import/editor_scene_importer_gltf.cpp b/editor/import/editor_scene_importer_gltf.cpp index 679e12e863c5..fcb0325611b4 100644 --- a/editor/import/editor_scene_importer_gltf.cpp +++ b/editor/import/editor_scene_importer_gltf.cpp @@ -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"]; }