godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.1k stars 21.15k forks source link

Remember the value of the animation timeline scale slider for each animation #27908

Open mitchcurtis opened 5 years ago

mitchcurtis commented 5 years ago
rakkarage commented 1 year ago

This currently works for a single Animation in a single AnimationPlayer per scene, as long as the AnimationPlayer is selected when saved.

 Anim={
 "animation": "zig",
 "player": NodePath("AnimationPlayer"),
 "track_editor_state": {
 "fps_mode": false,
 "offset": 0.0,
 "v_scroll": 0.0,
 "zoom": 2.0
 },
 "visible": true
 }

If AnimationPlayer is NOT selected and you save, and close and reopen scene tab. Gets into a state where the Animation window is open but no animation selected. If saved again in this state the data gets overwritten with empty data and zoom is lost. If AnimationPlayer is NOT selected you can also just change tabs and back to get into this state.

 Anim={
 "visible": true
 }