Skip to content

Get scene node should update reference when scene node name is changed #1138

@Naros

Description

@Naros

Description

When a scene node is dragged onto the graph and later renamed in the scene dock, that rename does not replicate to the graph node. This leads to an inconsistent state between the script and the scene tree. While GDScript also works this way, there is a node_renamed signal on the SceneTree and perhaps we can hook into this and update any references that may refer to that node.

Implementation ideas

For this to work in all cases, ideally there should be a background component that listens directly for scene tree changes. When a node is renamed, this component would scan all Orchestrations and change them as needed.

The caveat for this to work reliably would be to have the GetSceneNode script node store a reference to the scene file path as to avoid any sort of collisions that could arise from multiple scenes sharing the same node names?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions