Looks like the path generated by gkPath::directory is not recognized as a
valid directory by gkPath::isDir function because the last separator added
at the end of the path.
See example in OgreKit/Tests/ImplTest/Main.cpp
gkPath p(argv[0]);
if (p.isFile())
{
p = p.directory();
if (p.isDir())
{
// *** WILL NEVER ENTER HERE ***
p.append("OgreKitStartup.conf");
if (p.isFile())
defs.load(p.getPath());
}
Original issue reported on code.google.com by silveira.nestor@gmail.com on 3 Feb 2010 at 9:19
Original issue reported on code.google.com by
silveira.nestor@gmail.com
on 3 Feb 2010 at 9:19