You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
AnimationPlayer: Prevent resetting timeline when pinned (#4497)
Fixes #1019
This commit is contained in:
@@ -616,6 +616,9 @@ void AnimationPlayerEditor::_blend_edited() {
|
||||
|
||||
void AnimationPlayerEditor::ensure_visibility() {
|
||||
|
||||
if (player && pin->is_pressed())
|
||||
return; // another player is pinned, don't reset
|
||||
|
||||
_animation_edit();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user