-
Notifications
You must be signed in to change notification settings - Fork 41
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
Question about Toolhead and info text #17
Comments
Yeah, that should work with doing obj3d.parent.children. You may have to call a refresh method though. I don't remember. You could also just fully take the object out of the tree structure, but then you gotta make sure that doesn't introduce weird behavior. You could look at the code in the 3D viewer to renders the toolhead or extents text to see if there's any refresh code you could borrow. |
Did you do a wakeAnimate afterwards to see the refresh? |
If you need some new pubsub exposed out of the 3D viewer, I could get a pull request processed quickly for you. Maybe just expose 2 new pubsubs for toolhead and extents text that let you toggle hide/show. |
I don't believe this.obj3d.parent.children is a good approach, because; if I'm not wrong; toolhead and extents text are added to the scene after the other widget creates its 3d objects. |
Is it possible for a widget to tell 3dviewer widget to hide/show Toolhead and info text?
I tried changing the visible property of some item from this.obj3d.parent.children with no success. Where this.obj3d.parent is the scene object.
The text was updated successfully, but these errors were encountered: