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

blend-transforms breaks visibility inheritance #2

Open
diarmidmackenzie opened this issue Nov 28, 2021 · 0 comments
Open

blend-transforms breaks visibility inheritance #2

diarmidmackenzie opened this issue Nov 28, 2021 · 0 comments

Comments

@diarmidmackenzie
Copy link
Owner

diarmidmackenzie commented Nov 28, 2021

Object X blends transforms of A & B.

Object is parented in the DOM by parent C. C could be A, B or something entirely other.

Set C to visible = false. Expectation is (or at least, might be), that X becomes invisible, as it's parent has been set to invisible. But because X is not a child of C in the THREE.js Object3D hierarchy, this doesn't happen - X remains visible.

Would be useful to have the option to set things up so that X inherits visibility status from C. This should allow for the fact that the actual visibility state of C might either be set on C, or on some ancestor of C.

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