Merge pull request #2070 from Krzycho666/AnimationPlayer_fix
Animation player set_steps fix
This commit is contained in:
commit
5092cc46b4
1 changed files with 2 additions and 1 deletions
|
@ -3319,7 +3319,8 @@ void AnimationKeyEditor::_insert_delay() {
|
|||
void AnimationKeyEditor::_step_changed(float p_len) {
|
||||
|
||||
updating=true;
|
||||
animation->set_step(p_len);
|
||||
if (!animation.is_null())
|
||||
animation->set_step(p_len);
|
||||
updating=false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue