You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Fix editor spin slider remaining editable if set read_only during an edit and fix related animation player crash
This commit is contained in:
@@ -4639,6 +4639,10 @@ void AnimationTrackEditor::_update_scroll(double) {
|
||||
}
|
||||
|
||||
void AnimationTrackEditor::_update_step(double p_new_step) {
|
||||
if (animation.is_null()) {
|
||||
return;
|
||||
}
|
||||
|
||||
EditorUndoRedoManager *undo_redo = EditorUndoRedoManager::get_singleton();
|
||||
undo_redo->create_action(TTR("Change Animation Step"));
|
||||
float step_value = p_new_step;
|
||||
|
||||
Reference in New Issue
Block a user