Skip to content

Commit 50b17e3

Browse files
committed
fix ビルドエラー 5.0
1 parent 3c91b38 commit 50b17e3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Source/VRM4U/Private/VrmUtil.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -908,6 +908,8 @@ UVrmAssetListObject* VRMUtil::GetAssetListObject(const UObject *obj) {
908908
}
909909

910910
{
911+
#if UE_VERSION_OLDER_THAN(5,1,0)
912+
#else
911913
auto *dataArray = sk->GetAssetUserDataArray();
912914
if (dataArray){
913915
for (auto data : *dataArray) {
@@ -917,6 +919,7 @@ UVrmAssetListObject* VRMUtil::GetAssetListObject(const UObject *obj) {
917919
}
918920
}
919921
}
922+
#endif
920923
}
921924
}
922925

0 commit comments

Comments
 (0)