Rebase FBX regression db entries
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.pull/386/head
parent
f2d26222fc
commit
046b7e5f47
|
@ -381,8 +381,6 @@ private:
|
||||||
out_camera->mAspect = cam.AspectWidth() / cam.AspectHeight();
|
out_camera->mAspect = cam.AspectWidth() / cam.AspectHeight();
|
||||||
out_camera->mPosition = cam.Position();
|
out_camera->mPosition = cam.Position();
|
||||||
out_camera->mLookAt = cam.InterestPosition() - out_camera->mPosition;
|
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());
|
out_camera->mHorizontalFOV = AI_DEG_TO_RAD(cam.FieldOfView());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue