Hi Bjorn, Just doing a reply here for closure as the PR been merged. In future if you have made a PR on github that will normal be sufficient so no need to have a message to osg-users to accompany it.
Cheers, Robert. On 3 May 2018 at 11:58, Björn Blissing <bjorn.bliss...@vti.se> wrote: > Hi, > > I got a lot of warnings in my applications due to the fact that the FBX > plugin was trying to load textures with invalid paths. The problem came from > the following code section: > > https://github.com/openscenegraph/OpenSceneGraph/blob/5feb9e58f72297bdc53695d7224b5d42cdbcb746/src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp#L179-L181 > > The problem was that in my case the first tried path was always invalid > resulting in a fired osg::WARN inside the osgDB::readRefImageFile function. > > My solution checks the existence of the suggested path before trying to call > readRefImageFile function. > > Submitted as: > https://github.com/openscenegraph/OpenSceneGraph/pull/544 > > Regards, > Björn > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=73539#73539 > > > > > > _______________________________________________ > osg-submissions mailing list > osg-submissions@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org _______________________________________________ osg-submissions mailing list osg-submissions@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org