mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
[ue] Fixes #2691
This commit is contained in:
parent
dc2bcb02e1
commit
1da920ad74
@ -56,7 +56,7 @@ void USpineAtlasAsset::PostInitProperties() {
|
|||||||
|
|
||||||
void USpineAtlasAsset::Serialize(FArchive &Ar) {
|
void USpineAtlasAsset::Serialize(FArchive &Ar) {
|
||||||
Super::Serialize(Ar);
|
Super::Serialize(Ar);
|
||||||
if (Ar.IsLoading() && Ar.UE4Ver() < VER_UE4_ASSET_IMPORT_DATA_AS_JSON &&
|
if (Ar.IsLoading() && Ar.UEVer() < VER_UE4_ASSET_IMPORT_DATA_AS_JSON &&
|
||||||
!importData)
|
!importData)
|
||||||
importData = NewObject<UAssetImportData>(this, TEXT("AssetImportData"));
|
importData = NewObject<UAssetImportData>(this, TEXT("AssetImportData"));
|
||||||
}
|
}
|
||||||
|
|||||||
@ -83,7 +83,7 @@ void USpineSkeletonDataAsset::GetAssetRegistryTags(
|
|||||||
|
|
||||||
void USpineSkeletonDataAsset::Serialize(FArchive &Ar) {
|
void USpineSkeletonDataAsset::Serialize(FArchive &Ar) {
|
||||||
Super::Serialize(Ar);
|
Super::Serialize(Ar);
|
||||||
if (Ar.IsLoading() && Ar.UE4Ver() < VER_UE4_ASSET_IMPORT_DATA_AS_JSON &&
|
if (Ar.IsLoading() && Ar.UEVer() < VER_UE4_ASSET_IMPORT_DATA_AS_JSON &&
|
||||||
!importData)
|
!importData)
|
||||||
importData = NewObject<UAssetImportData>(this, TEXT("AssetImportData"));
|
importData = NewObject<UAssetImportData>(this, TEXT("AssetImportData"));
|
||||||
LoadInfo();
|
LoadInfo();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user