Skip to content

Commit

Permalink
Fix aspectRatio deserialization (#62)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Bond <mbond@adobe.com>
  • Loading branch information
MiiBond and MiiBond committed Sep 25, 2020
1 parent 8d12da1 commit 20b0a2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GLTFSDK/Source/Deserialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ namespace

Optional<float> aspectRatio;

auto itAspectRatio = perspectiveIt->value.FindMember("target");
auto itAspectRatio = perspectiveIt->value.FindMember("aspectRatio");
if (itAspectRatio != perspectiveIt->value.MemberEnd())
{
aspectRatio = itAspectRatio->value.GetFloat();
Expand Down

0 comments on commit 20b0a2b

Please sign in to comment.