Merge pull request #71839 from TokageItLab/expose-fading-from-statemachine

Expose `fading_from` from StateMachine
This commit is contained in:
Rémi Verschelde 2023-01-22 11:08:34 +01:00
commit c0f35a8db1
No known key found for this signature in database
GPG key ID: C3336907360768E1
4 changed files with 11 additions and 4 deletions

View file

@ -1237,7 +1237,7 @@ void AnimationNodeStateMachineEditor::_state_machine_draw() {
if (playback.is_valid()) {
playing = playback->is_playing();
current = playback->get_current_node();
blend_from = playback->get_blend_from_node();
blend_from = playback->get_fading_from_node();
travel_path = playback->get_travel_path();
}
@ -1695,7 +1695,7 @@ void AnimationNodeStateMachineEditor::_notification(int p_what) {
tp = playback->get_travel_path();
is_playing = playback->is_playing();
current_node = playback->get_current_node();
blend_from_node = playback->get_blend_from_node();
blend_from_node = playback->get_fading_from_node();
play_pos = playback->get_current_play_pos();
current_length = playback->get_current_length();
}