Fixed problem with loading interleaved arrays in the .osg loader, and corrected

a spelling mistake in osg::GeoSet.
This commit is contained in:
Robert Osfield
2001-12-12 12:55:01 +00:00
parent 363d1d9d70
commit 05e4a0b4ce
4 changed files with 58 additions and 10 deletions

View File

@@ -296,6 +296,7 @@ bool FieldReaderIterator::matchSequence(const char* str)
{
if (str==NULL) return false;
if (*str==0) return false;
int fieldCount = 0;
const char* end = str;
while((*end)!=0 && (*end)==' ') ++end;
@@ -333,6 +334,7 @@ bool FieldReaderIterator::matchSequence(const char* str)
if (!field(fieldCount).isQuotedString()) return false;
break;
}
case('w') :
default :// expecting an word
{
if (!field(fieldCount).isWord()) return false;