Prevent crash when trying to evaluate without an existing Skeleton3D.
This commit is contained in:
parent
67acbb35b3
commit
5d0bf10ce7
@ -295,6 +295,10 @@ void BLTAnimationGraph::_process_graph(double p_delta, bool p_update_only) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (graph_context.skeleton_3d == nullptr) {
|
||||
return;
|
||||
}
|
||||
|
||||
GodotProfileZone("SyncedAnimationGraph::_process_graph");
|
||||
|
||||
_update_properties();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user