there is a bug in FileSystemArchive

Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.
wenlek
Gnoblar
Posts: 1
Joined: Wed Aug 18, 2010 7:13 am

there is a bug in FileSystemArchive

Post by wenlek »

There is a bug in FileSystemArchive::open function. It maybe cause you can't write a file. So you should change if (!readOnly && isReadOnly()) to if (!readOnly && !isReadOnly()), at line OgreFileSystem.cpp:231. The bug is in ogre 1.8 and 1.81