Hi Robert,

Quick one for OpenSceneGraph-Data, which has been lying on my hard drive for a while.

When you run osgwidgetframe, you get these messages:

the size of theme file osgWidget/theme-1.png can not be divided by 3, check the
documentation about theme format
createSimpleFrameWithSingleTexture with a null image, the frame frameTheme will
be use texture
the size of theme file osgWidget/theme-2.png can not be divided by 3, check the
documentation about theme format
createSimpleFrameWithSingleTexture with a null image, the frame frameTheme will
be use texture
the size of theme file osgWidget/theme-2.png can not be divided by 3, check the
documentation about theme format
createSimpleFrameWithSingleTexture with a null image, the frame frameTheme will
be use texture

So here are modified versions of Images/osgWidget/theme-1.png and theme-2.png, scaled from 64x64 to 66x66 so that they can be used as themes (their dimensions need to be divisible by 3 as the message says).

With these images osgwidgetframe works as intended (not only the message is gone, but the example looks as it should, which it didn't before the change).

I don't know why it has been like that for so long, I had expected someone else to spot this and send in modified files, but here they are.

Thanks,

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/

<<attachment: theme-1.png>>

<<attachment: theme-2.png>>

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to