[osg-users] Bug in osgDB::findFileInDirectory

Robert Osfield robert.osfield at gmail.com
Wed Mar 28 03:50:10 PDT 2018

Hi Ricardo,

On 27 March 2018 at 19:42, Robert Osfield <robert.osfield at gmail.com> wrote:
> ./test --dir ~/OpenSceneGraph/include/osg/ --file version
> Result with findFileInDirectory(): 0
> Result with fileExists(): 0
> concatenated=/home/robert/OpenSceneGraph/include/osg/version
> Which confirms your suggestion that the trailing slash isn't handled
> by findFileInDirectory().

I have checked in a catch for users passing in directories with a
trailing / or \.  This fix is checked into OSG master and the 3.6


More information about the osg-users mailing list