From c63263b02579600921f1c5455af5e4f0a0887fbf Mon Sep 17 00:00:00 2001 From: Alexandre Avenel Date: Fri, 24 Nov 2017 20:16:30 +0100 Subject: [PATCH] Fix typo on gltf2 camera parameters --- code/glTF2Asset.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/glTF2Asset.inl b/code/glTF2Asset.inl index ca18e87e0..7534c2230 100644 --- a/code/glTF2Asset.inl +++ b/code/glTF2Asset.inl @@ -934,7 +934,7 @@ inline void Camera::Read(Value& obj, Asset& /*r*/) { type = MemberOrDefault(obj, "type", Camera::Perspective); - const char* subobjId = (type == Camera::Orthographic) ? "ortographic" : "perspective"; + const char* subobjId = (type == Camera::Orthographic) ? "orthographic" : "perspective"; Value* it = FindObject(obj, subobjId); if (!it) throw DeadlyImportError("GLTF: Camera missing its parameters");