feature/blend_tree_editor #1
@ -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<Animation::TypeHash, size_t> &K : output_data.value_buffer_offset) {
|
||||
const AnimationData::TrackValue *track_value = output_data.get_value<AnimationData::TrackValue>(K.key);
|
||||
|
||||
@ -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 });
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user