From Aitor Moreno, "Attached you will find the modified file without the lines which raises the exception. "

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14721 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield
2015-02-25 19:38:43 +00:00
parent 1db6def2c4
commit 5f1b41a84f

View File

@@ -180,12 +180,6 @@ class ReaderWriterLAS : public osgDB::ReaderWriter
}
double const d2 = t.stop();
if (reader.GetHeader().GetPointRecordsCount() != i)
{
return ReadResult::ERROR_IN_READING_FILE;
}
if (verbose) {
std::cout << "Read points: " << i << " Elapsed Time: " << d2
<< std::endl << std::endl;