From e25efa8c6f2ea0f1b1a8c7a03214e9e120b64735 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Tue, 18 Mar 2025 09:09:06 +0100 Subject: [PATCH] Fix naming convention --- Source/Engine/Animations/AnimationData.cpp | 2 +- Source/Engine/Animations/AnimationData.h | 2 +- Source/Engine/Content/Assets/Animation.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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())