godotengine / godot

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

Path inside animation player is not updated consistantly when dragging around the node tree #42180

Open MangelMaxime opened 4 years ago

MangelMaxime commented 4 years ago

Godot version: 3.2.3

OS/device including version: Windows 10

Issue description: When moving an animation player inside a Node2D the path tracked in it are updated. But if we move the animation back to its original position the changes are kept.

Node: Ctrl+Z does work.

image

image

image

Steps to reproduce:

  1. Have an animation player with animated nodes as children
  2. Create a Node2D as a sibling to the animation player
  3. Move the animation player as a children of Node2D
  4. See that the reference in the animation player has been updated
  5. Move back the animation to it's original place
  6. The changes observed in step 4 are still present

I am not sure what the expected behaviour should be but it doesn't seem consistant to me.

Ranoller commented 4 years ago

Related: https://github.com/godotengine/godot/issues/26144