Prevent crash when trying to evaluate without an existing Skeleton3D.

This commit is contained in:
Martin Felis 2026-01-23 12:05:39 +01:00
parent 67acbb35b3
commit 5d0bf10ce7

View File

@ -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();