Merge pull request #115175 from vaner-org/oneshot-request-fire-override-abort
Allow `ONE_SHOT_REQUEST_FIRE` to override OneShot abortion
This commit is contained in:
commit
76addfff12
1 changed files with 1 additions and 1 deletions
|
|
@ -590,7 +590,7 @@ AnimationNode::NodeTimeInfo AnimationNodeOneShot::_process(const AnimationMixer:
|
|||
}
|
||||
|
||||
bool is_abort = cur_request == ONE_SHOT_REQUEST_ABORT;
|
||||
if (is_reset && (is_fading_out || (abort_on_reset && cur_active))) {
|
||||
if (is_reset && !do_start && (is_fading_out || (abort_on_reset && cur_active))) {
|
||||
is_abort = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue