.. | .. |
---|
5775 | 5775 | } |
---|
5776 | 5776 | } |
---|
5777 | 5777 | |
---|
| 5778 | + void EmbedTextures() |
---|
| 5779 | + { |
---|
| 5780 | + if (blockloop) |
---|
| 5781 | + return; |
---|
| 5782 | + |
---|
| 5783 | + CameraPane.EmbedTextures(texture); |
---|
| 5784 | + |
---|
| 5785 | + int nb = Size(); |
---|
| 5786 | + for (int i = 0; i < nb; i++) |
---|
| 5787 | + { |
---|
| 5788 | + Object3D child = (Object3D) get(i); |
---|
| 5789 | + |
---|
| 5790 | + if (child == null) |
---|
| 5791 | + continue; |
---|
| 5792 | + |
---|
| 5793 | + blockloop = true; |
---|
| 5794 | + child.EmbedTextures(); |
---|
| 5795 | + blockloop = false; |
---|
| 5796 | + } |
---|
| 5797 | + } |
---|
| 5798 | + |
---|
5778 | 5799 | void draw(iCameraPane display, Object3D /*Composite*/ root, boolean selected, boolean blocked) |
---|
5779 | 5800 | { |
---|
5780 | 5801 | Draw(display, root, selected, blocked); |
---|