mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-23 18:21:23 +08:00
[ue4] Fixed packaging. Closes #850
This commit is contained in:
parent
1ad8e6b63c
commit
c019550d2d
@ -83,6 +83,8 @@ void USpineAtlasAsset::Serialize (FArchive& Ar) {
|
|||||||
importData = NewObject<UAssetImportData>(this, TEXT("AssetImportData"));
|
importData = NewObject<UAssetImportData>(this, TEXT("AssetImportData"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
void USpineAtlasAsset::BeginDestroy () {
|
void USpineAtlasAsset::BeginDestroy () {
|
||||||
if (atlas) {
|
if (atlas) {
|
||||||
spAtlas_dispose(atlas);
|
spAtlas_dispose(atlas);
|
||||||
@ -111,6 +113,4 @@ spAtlas* USpineAtlasAsset::GetAtlas (bool ForceReload) {
|
|||||||
return this->atlas;
|
return this->atlas;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#undef LOCTEXT_NAMESPACE
|
#undef LOCTEXT_NAMESPACE
|
||||||
|
|||||||
@ -79,6 +79,8 @@ void USpineSkeletonDataAsset::Serialize (FArchive& Ar) {
|
|||||||
importData = NewObject<UAssetImportData>(this, TEXT("AssetImportData"));
|
importData = NewObject<UAssetImportData>(this, TEXT("AssetImportData"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
void USpineSkeletonDataAsset::BeginDestroy () {
|
void USpineSkeletonDataAsset::BeginDestroy () {
|
||||||
if (this->skeletonData) {
|
if (this->skeletonData) {
|
||||||
spSkeletonData_dispose(this->skeletonData);
|
spSkeletonData_dispose(this->skeletonData);
|
||||||
@ -150,6 +152,4 @@ float USpineSkeletonDataAsset::GetMix(const FString& from, const FString& to) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#undef LOCTEXT_NAMESPACE
|
#undef LOCTEXT_NAMESPACE
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user