From c7660c7b192893cb7f65de46f9ba497497cde55e Mon Sep 17 00:00:00 2001 From: Martin Felis Date: Fri, 20 Feb 2026 22:55:30 +0100 Subject: [PATCH] Replace SyncedAnimationGraph to BLTAnimationGraph. --- blendalot_animation_graph.cpp | 6 +++--- tests/test_sync_track.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/blendalot_animation_graph.cpp b/blendalot_animation_graph.cpp index 56d6109..2c3d54b 100644 --- a/blendalot_animation_graph.cpp +++ b/blendalot_animation_graph.cpp @@ -146,7 +146,7 @@ void BLTAnimationGraph::_graph_changed(const StringName &node_name) { } void BLTAnimationGraph::_notification(int p_what) { - GodotProfileZone("SyncedAnimationGraph::_notification"); + GodotProfileZone("BLTAnimationGraph::_notification"); switch (p_what) { case NOTIFICATION_ENTER_TREE: { @@ -295,7 +295,7 @@ void BLTAnimationGraph::_process_graph(double p_delta, bool p_update_only) { return; } - GodotProfileZone("SyncedAnimationGraph::_process_graph"); + GodotProfileZone("BLTAnimationGraph::_process_graph"); _update_properties(); @@ -311,7 +311,7 @@ void BLTAnimationGraph::_process_graph(double p_delta, bool p_update_only) { } void BLTAnimationGraph::_apply_animation_data(const AnimationData &output_data) const { - GodotProfileZone("SyncedAnimationGraph::_apply_animation_data"); + GodotProfileZone("BLTAnimationGraph::_apply_animation_data"); for (const KeyValue &K : output_data.value_buffer_offset) { const AnimationData::TrackValue *track_value = output_data.get_value(K.key); diff --git a/tests/test_sync_track.h b/tests/test_sync_track.h index a2fd1f7..63616b2 100644 --- a/tests/test_sync_track.h +++ b/tests/test_sync_track.h @@ -6,7 +6,7 @@ namespace TestBlendalotAnimationGraph { -TEST_CASE("[SyncedAnimationGraph][SyncTrack] Basic") { +TEST_CASE("[Blendalot][SyncTrack] Basic") { SyncTrack track_a; track_a.num_intervals = 2; track_a.duration = 2.0; @@ -84,7 +84,7 @@ TEST_CASE("[SyncedAnimationGraph][SyncTrack] Basic") { } } -TEST_CASE("[SyncedAnimationGraph][SyncTrack] Create Sync Track from markers") { +TEST_CASE("[Blendalot][SyncTrack] Create Sync Track from markers") { SyncTrack track = SyncTrack::create_from_markers(2.0f, { 0.9f, 0.2f }); WHEN("Querying Ratios") { @@ -138,7 +138,7 @@ TEST_CASE("[SyncedAnimationGraph][SyncTrack] Create Sync Track from markers") { } } -TEST_CASE("[SyncedAnimationGraph][SyncTrack] Sync Track blending") { +TEST_CASE("[Blendalot][SyncTrack] Sync Track blending") { SyncTrack track_a = SyncTrack::create_from_markers(2.0, { 0., 0.6, 1.8 }); SyncTrack track_b = SyncTrack::create_from_markers(1.5f, { 1.05, 1.35, 0.3 });