diff --git a/Source/Engine/Animations/AnimationData.cpp b/Source/Engine/Animations/AnimationData.cpp index e1115ea53..da285200a 100644 --- a/Source/Engine/Animations/AnimationData.cpp +++ b/Source/Engine/Animations/AnimationData.cpp @@ -73,7 +73,7 @@ void AnimationData::Swap(AnimationData& other) Channels.Swap(other.Channels); } -void AnimationData::Dispose() +void AnimationData::Release() { Name.Clear(); Duration = 0.0; diff --git a/Source/Engine/Animations/AnimationData.h b/Source/Engine/Animations/AnimationData.h index c37396243..1cf267a3d 100644 --- a/Source/Engine/Animations/AnimationData.h +++ b/Source/Engine/Animations/AnimationData.h @@ -170,5 +170,5 @@ public: /// /// Releases data. /// - void Dispose(); + void Release(); }; diff --git a/Source/Engine/Content/Assets/Animation.cpp b/Source/Engine/Content/Assets/Animation.cpp index 1d5d1cfd6..b4b7195a1 100644 --- a/Source/Engine/Content/Assets/Animation.cpp +++ b/Source/Engine/Content/Assets/Animation.cpp @@ -692,7 +692,7 @@ void Animation::unload(bool isReloading) Level::ScriptsReloadStart.Unbind(this); } #endif - Data.Dispose(); + Data.Release(); for (const auto& e : Events) { for (const auto& k : e.Second.GetKeyframes())