i think there is a bug in OgreFileSystem.cpp with v1.8.1
-
- Gnoblar
- Posts: 3
- Joined: Fri Oct 26, 2012 9:45 am
i think there is a bug in OgreFileSystem.cpp with v1.8.1
in this file, the function FileSystemArchive::open, at the line 229, it write: "if (!readOnly && isReadOnly()) {...", i think it's incorrect, it may be like this: "if (!readOnly && !isReadOnly) {...
- Eugene
- OGRE Team Member
- Posts: 185
- Joined: Mon Mar 24, 2008 4:54 pm
- Location: Kraków, Poland
- x 41
Re: i think there is a bug in OgreFileSystem.cpp with v1.8.1
Look at http://www.ogre3d.org/forums/viewtopic.php?f=4&t=72885 - this bug is already fixed by changesetzhendong wrote:in this file, the function FileSystemArchive::open, at the line 229, it write: "if (!readOnly && isReadOnly()) {...", i think it's incorrect, it may be like this: "if (!readOnly && !isReadOnly) {...
Code: Select all
Changeset:3902 (accc2be2d8e4) Fix a bug in the filesystem when a read-write file was being opened in read-only
Branch: v1-8
User:David Rogers <masterfalcon@ogre3d.org>
Date:2012-10-01 13:32:02 -0500 (3 weeks)
-
- Gnoblar
- Posts: 3
- Joined: Fri Oct 26, 2012 9:45 am
Re: i think there is a bug in OgreFileSystem.cpp with v1.8.1
Oh I know that ,thank youEugene wrote:Look at http://www.ogre3d.org/forums/viewtopic.php?f=4&t=72885 - this bug is already fixed by changesetzhendong wrote:in this file, the function FileSystemArchive::open, at the line 229, it write: "if (!readOnly && isReadOnly()) {...", i think it's incorrect, it may be like this: "if (!readOnly && !isReadOnly) {...and would be released as part of v1.8.2Code: Select all
Changeset:3902 (accc2be2d8e4) Fix a bug in the filesystem when a read-write file was being opened in read-only Branch: v1-8 User:David Rogers <masterfalcon@ogre3d.org> Date:2012-10-01 13:32:02 -0500 (3 weeks)