[osg-submissions] OpenFlight reader now allows files with no hierarchy.

Joakim Simonsson joakim at autosim.no
Fri Jul 4 06:22:04 PDT 2008


RecordInputStream.h:
* The typedef "opcode_type" is no longer an int. It is changed to the enum  
"Opcodes".

Opcodes.h:
* Added INVALID_OP as -1 in the Opcodes enum. Note that INVALID_OP is not  
an actual opcode defined in the OpenFlight format. The purpose of  
INVALID_OP is to mark an opcode variable as invalid or uninitialized.

ReaderWriterFLT.cpp:
* The header node is returned if it exists, even if the file does not  
contain a node hierarchy. The old behaviour returned a  
ERROR_IN_READING_FILE error.
* Changed opcodes initialized to -1 to the new enum value INVALID_OP.

AncillaryRecords.cpp:
Document.cpp:
Document.h:
expAncillaryRecords.cpp:
expGeometryRecords.cpp:
ExportOptions.cpp:
expPrimaryRecords.cpp:
FltExportVisitor.cpp:
PaletteRecords.cpp:
Pools.h:
PrimaryRecords.cpp:
RecordInputStream.cpp:
VertexPaletteManager.cpp:
VertexRecords.cpp:
Document.h:
* Typos fixed.


-- 
Joakim Simonsson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: src.osgPlugins.OpenFlight.zip
Type: application/zip
Size: 58881 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080704/0249aa52/attachment-0001.zip>


More information about the osg-submissions mailing list