Skip to content

Commit

Permalink
Compile Fix for UE4.27
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Vodhanel committed Apr 10, 2022
1 parent a695857 commit 4288112
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,7 @@ bool FDazToUnrealUtils::IsModelFacingX(UObject* MeshObject)
}
if (UStaticMesh* StaticMesh = Cast<UStaticMesh>(MeshObject))
{
#if ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION < 27
if (UAssetImportData* AssetImportData = StaticMesh->AssetImportData)
#else
if (UAssetImportData* AssetImportData = StaticMesh->GetAssetImportData())
#endif
{
UFbxAssetImportData* FbxAssetImportData = Cast<UFbxAssetImportData>(AssetImportData);
if (FbxAssetImportData != nullptr && FbxAssetImportData->bForceFrontXAxis)
Expand Down

0 comments on commit 4288112

Please sign in to comment.