Clear fade-out on request fireing in AnimationNodeOneShot
(cherry picked from commit 7b80ae73255435e48c7b217046292e51992cbf23)
This commit is contained in:
committed by
Thaddeus Crews
parent
0ece0ae45d
commit
bbceca86f1
@@ -644,6 +644,9 @@ AnimationNode::NodeTimeInfo AnimationNodeOneShot::_process(const AnimationMixer:
|
||||
set_parameter(request, ONE_SHOT_REQUEST_NONE);
|
||||
set_parameter(internal_active, true);
|
||||
set_parameter(active, true);
|
||||
// Clear fade-out.
|
||||
is_fading_out = false;
|
||||
cur_fade_out_remaining = 0;
|
||||
}
|
||||
|
||||
real_t blend = 1.0;
|
||||
|
||||
Reference in New Issue
Block a user