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

Document expected Item behavior for SceneObject #1276

Open
Licini opened this issue Jan 26, 2024 · 0 comments
Open

Document expected Item behavior for SceneObject #1276

Licini opened this issue Jan 26, 2024 · 0 comments

Comments

@Licini
Copy link
Contributor

Licini commented Jan 26, 2024

          currently there is some duplication between the behaviour of the scene itself and its tree attribute. when this behaviour is merged, i assume the guid of the data object will play a role in keeping track of things. in that context, the name of the item is not important. it might even be better to not implicitly reuse the name of the item, but instead make the user assign a name to the scene object explicitly.

in any case, a scene should be serialisable. so the default behaviour in the core library should be that the items implement the data interface.

what downstream users do with this is of course up to them. in that regard, rather than saying that an item should be a data item, perhaps we should define the required behaviour of an item instead, and leave everything up to the downstream implementations...

how does that sound?

Originally posted by @tomvanmele in #1274 (comment)

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

1 participant