Skip to content

Commit

Permalink
Rebase FBX regression db entries
Browse files Browse the repository at this point in the history
The FBX importer now properly parses field-of-view tokens. Rebase
only the failing FBX entries to accomodate the fix, also removing
the comment noting the (now incorrect) comment about improper import
of the FOV property.
  • Loading branch information
jdduke committed Sep 16, 2014
1 parent f2d2622 commit 046b7e5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions code/FBXConverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,6 @@ class Converter
out_camera->mAspect = cam.AspectWidth() / cam.AspectHeight();
out_camera->mPosition = cam.Position();
out_camera->mLookAt = cam.InterestPosition() - out_camera->mPosition;

// BUG HERE cam.FieldOfView() returns 1.0f every time. 1.0f is default value.
out_camera->mHorizontalFOV = AI_DEG_TO_RAD(cam.FieldOfView());
}

Expand Down
Binary file modified test/regression/db.zip
Binary file not shown.

0 comments on commit 046b7e5

Please sign in to comment.