[2.1]how to hide SubItem?
-
- Gnoblar
- Posts: 23
- Joined: Wed May 03, 2017 4:12 am
[2.1]how to hide SubItem?
SubItem cant setVisible,how to hide SubItem?
- dark_sylinc
- OGRE Team Member
- Posts: 5296
- Joined: Sat Jul 21, 2007 4:55 pm
- Location: Buenos Aires, Argentina
- x 1278
- Contact:
Re: [2.1]how to hide SubItem?
IIRC it was never possible to hide sub elements from a MovableObject.
You could try temporarily removing those SubItems from MovableObject::mRenderables and then putting them back in the right order after rendering, but I don't know how well that would work.
Another option could be to split the meshes in two...
You could try temporarily removing those SubItems from MovableObject::mRenderables and then putting them back in the right order after rendering, but I don't know how well that would work.
Another option could be to split the meshes in two...