default warning for unknown aperture mode

This commit is contained in:
Michael Ranieri 2018-10-22 16:23:20 -07:00
parent dd384cc857
commit 14142de796
1 changed files with 4 additions and 0 deletions

View File

@ -415,6 +415,10 @@ static void ReadCamera(RawModel &raw, FbxScene *pScene, FbxNode *pNode)
fovy = HFOV2VFOV(fovx, apertureRatio); fovy = HFOV2VFOV(fovx, apertureRatio);
break; break;
} }
default: {
fmt::printf("Warning:: Unsupported ApertureMode. Setting FOV to 0.\n");
break;
}
} }
if (pCamera->ProjectionType.Get() == FbxCamera::EProjectionType::ePerspective) { if (pCamera->ProjectionType.Get() == FbxCamera::EProjectionType::ePerspective) {