From 5f1b41a84f9fb36a69eb2948a8420be4e40328f1 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 25 Feb 2015 19:38:43 +0000 Subject: [PATCH] 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 --- src/osgPlugins/las/ReaderWriterLAS.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/osgPlugins/las/ReaderWriterLAS.cpp b/src/osgPlugins/las/ReaderWriterLAS.cpp index 2ca732e3c..8ab9596ea 100644 --- a/src/osgPlugins/las/ReaderWriterLAS.cpp +++ b/src/osgPlugins/las/ReaderWriterLAS.cpp @@ -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;