default warning for unknown aperture mode
This commit is contained in:
parent
dd384cc857
commit
14142de796
|
@ -415,6 +415,10 @@ static void ReadCamera(RawModel &raw, FbxScene *pScene, FbxNode *pNode)
|
|||
fovy = HFOV2VFOV(fovx, apertureRatio);
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
fmt::printf("Warning:: Unsupported ApertureMode. Setting FOV to 0.\n");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (pCamera->ProjectionType.Get() == FbxCamera::EProjectionType::ePerspective) {
|
||||
|
|
Loading…
Reference in New Issue