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

Subscribing to Node state changes #563

Open
ctrueden opened this issue Jun 19, 2023 · 1 comment
Open

Subscribing to Node state changes #563

ctrueden opened this issue Jun 19, 2023 · 1 comment
Labels
enhancement Issue or PR discusses an enhancement

Comments

@ctrueden
Copy link
Member

Right now, the properties panel in sciview can get out of sync with node state from the scene. It would be awesome to have a callback mechanism (NodeListener) to be told whenever details of a node change. Then, in sciview, we can subscribe to node changes and update the properties panel accordingly. This would be useful in other scenarios as well, really any time you want to keep track of what's happening with nodes. See also this Zulip topic.

@ctrueden ctrueden added the enhancement Issue or PR discusses an enhancement label Jun 19, 2023
@ctrueden
Copy link
Member Author

@skalarproduktraum This issue came up again during the sciview hackathon with @kephale back in July, and I expect will continue to crop up in future, in scenarios where people want to keep their own data structures synchronized with scenery state. What do you think—is a NodeListener or similar something that would be pretty straightforward to weave into the codebase? Or are there obstacles?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issue or PR discusses an enhancement
Projects
None yet
Development

No branches or pull requests

1 participant