Integrated Brede Johansen's updates to flt loader.

This commit is contained in:
Robert Osfield
2001-12-04 16:03:10 +00:00
parent 3e940e0b33
commit d7ded2d90f
30 changed files with 1646 additions and 862 deletions

View File

@@ -23,6 +23,7 @@ using namespace std;
using namespace flt;
FileInput::FileInput()
{
_init();
@@ -165,7 +166,7 @@ SRecHeader* FileInput::readRecord()
}
Record* Input::readCreateRecord()
Record* Input::readCreateRecord(FltFile* pFltFile)
{
SRecHeader* pData = readRecord();
@@ -194,6 +195,8 @@ Record* Input::readCreateRecord()
return NULL;
}
pRec->_pFltFile = pFltFile;
#if 0
osg::notify(osg::ALWAYS) << "class=" << pRec->className();
osg::notify(osg::ALWAYS) << " op=" << pRec->getOpcode();