Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node at Path block does not update when renaming a node #268

Open
cassidyjames opened this issue Oct 12, 2024 · 1 comment
Open

Node at Path block does not update when renaming a node #268

cassidyjames opened this issue Oct 12, 2024 · 1 comment

Comments

@cassidyjames
Copy link
Member

What Happened

If you drag a Node to block code, then rename it, it breaks your code.

How to Reproduce

  1. Add a Node to your Block Code, e.g. in the Remove Node block
  2. Change the referenced node name in the sidebar
  3. Go back to the Block Code

Block Coding Plugin Version

No response

Godot Engine Version

No response

Operating System

No response

Logs or command-line output

No response

Anything else?

No response

@dbnicholson
Copy link
Member

Sadly, this is a known issue. Godot doesn't provide a good way to track changes to part of the scene tree, so nothing is handled. For instance, if you add a node, it won't be added to the drop down list. Rename would be tricky as you'd have to catch the event and then find an the block code nodes and update potentially affected nodes.

@wjt wjt changed the title Node at Path block does not update when reaming a node Node at Path block does not update when renaming a node Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants