You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
fixed problem with crashing godot when changing number of steps while no animation added
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user