Fix naming convention

This commit is contained in:
Wojtek Figat
2025-03-18 09:09:06 +01:00
parent 7f081abf92
commit e25efa8c6f
3 changed files with 3 additions and 3 deletions

View File

@@ -73,7 +73,7 @@ void AnimationData::Swap(AnimationData& other)
Channels.Swap(other.Channels);
}
void AnimationData::Dispose()
void AnimationData::Release()
{
Name.Clear();
Duration = 0.0;

View File

@@ -170,5 +170,5 @@ public:
/// <summary>
/// Releases data.
/// </summary>
void Dispose();
void Release();
};

View File

@@ -692,7 +692,7 @@ void Animation::unload(bool isReloading)
Level::ScriptsReloadStart.Unbind<Animation, &Animation::OnScriptsReloadStart>(this);
}
#endif
Data.Dispose();
Data.Release();
for (const auto& e : Events)
{
for (const auto& k : e.Second.GetKeyframes())