Hi John,
I'm getting the following warning when building the plugin:
home/robert/OpenSceneGraph/src/osgPlugins/Inventor/ConvertFromInventor.cpp:
In static member function ‘static SoCallbackAction::Response
ConvertFromInventor::postTexture(void*, SoCallbackAction*, const
SoNode*)’:
/home/robert/OpenSceneGraph/src/osgPlugins/Inventor/ConvertFromInventor.cpp:1021:
warning: suggest brackets around && within ||
The line is:
texturingEnabled = (t->url.getNum() > 1 || t->url.getNum() ==
1 && t->url.getValues(0)[0].getLength() > 0);
Clearly I need to add a () but I'm not 100% clear on whether it should
be around the first || or the second && comparison.
Could you please clarify?
Cheers,
Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org