From 4d042581a63b5ee2bc46b6b347da625dc6e1f07c Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 4 Jan 2008 15:30:49 +0000 Subject: [PATCH] From Paul Martz, "Correction to size of reserved filed in .attr file, Spec says "149*4" bytes, not "149"" --- src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp b/src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp index ee0325377..e4c8f4f35 100644 --- a/src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp +++ b/src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp @@ -160,7 +160,7 @@ ReaderWriter::ReadResult ReaderWriterATTR::readObject(const std::string& file, c attr->hemisphere = in.readInt32(); in.forward(4); in.forward(4); - in.forward(149); + in.forward(149*4); attr->comments = in.readString(512); // v12 ends here