Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts: # Source/Editor/Windows/Profiler/Memory.cs
This commit is contained in:
@@ -738,7 +738,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())
|
||||
|
||||
@@ -203,7 +203,7 @@ void AnimationGraph::FindDependencies(AnimGraphBase* graph)
|
||||
{
|
||||
for (const auto& node : graph->Nodes)
|
||||
{
|
||||
if (node.Type == GRAPH_NODE_MAKE_TYPE(9, 24))
|
||||
if (node.Type == GRAPH_NODE_MAKE_TYPE(9, 24) && node.Assets.Count() > 0)
|
||||
{
|
||||
const auto function = node.Assets[0].As<AnimationGraphFunction>();
|
||||
if (function)
|
||||
|
||||
Reference in New Issue
Block a user