Skip to content

Transition and create mode still enabled when switching to read-only AnimationTree state machines. #84051

Closed
@SaracenOne

Description

Godot version

06d5189

System information

Windows 11

Issue description

The AnimationTree state machine editor has different editing modes, a button which allows you to drag out transitions and a button which allows you to add new states by clicking. This editor will operate in a read-only mode when examining a tree with a resource embedded into another scene. However, when switching between an editable tree and a non-editable tree, the mode will be stuck on what it was previously.

Steps to reproduce

  • Create a scene.
  • Create an AnimationTree and give it a state machine.
  • Save the scene.
  • Create a new scene which inherits this scene.
  • Add another local AnimationTree and state machine.
  • In the editor for this node, click on the connect nodes button.
  • Now click on the older AnimationTree from the inherited scene.
  • Observe that the 'connect nodes' mode is still active even though it should be disallowed in this context.

Minimal reproduction project

N/A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions