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 [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
