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

PrototypingUI does not update automatically with tree changes #168

Open
jgrenda opened this issue Sep 9, 2023 · 0 comments
Open

PrototypingUI does not update automatically with tree changes #168

jgrenda opened this issue Sep 9, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jgrenda
Copy link
Collaborator

jgrenda commented Sep 9, 2023

The prototyping ui does not currently update in relation to tree changes.
The following code snipped exists but is currently commented out:

	if Engine.is_editor_hint():
		var tree = get_tree()
		tree.node_added.connect(_tree_changed)
		tree.node_removed.connect(_tree_changed)
		tree.node_renamed.connect(_tree_changed)
		tree.node_configuration_warning_changed.connect(_tree_changed)

The ui should update if new values are added at runtime (for example through a spawner).
Currently, an update is triggered through a panel resize.

@jgrenda jgrenda added the bug Something isn't working label Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Nuissances
Development

No branches or pull requests

1 participant