[Liblas-commits] libpc: mild and likely inconsequential bug fix
liblas-commits at liblas.org
liblas-commits at liblas.org
Fri Mar 11 12:23:25 EST 2011
details: http://hg.liblas.orglibpc/rev/379061fbe63b
changeset: 209:379061fbe63b
user: Michael P. Gerlek <mpg at flaxen.com>
date: Fri Mar 11 09:23:19 2011 -0800
description:
mild and likely inconsequential bug fix
diffstat:
src/CacheFilter.cpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (15 lines):
diff -r a3c016894566 -r 379061fbe63b src/CacheFilter.cpp
--- a/src/CacheFilter.cpp Fri Mar 11 09:21:59 2011 -0800
+++ b/src/CacheFilter.cpp Fri Mar 11 09:23:19 2011 -0800
@@ -92,8 +92,9 @@
{
if (data.getNumPoints() != 1)
{
- m_currentPointIndex += data.getNumPoints();
- return m_prevStage.read(data);
+ const boost::uint32_t numRead = m_prevStage.read(data);
+ m_currentPointIndex += numRead;
+ return numRead;
}
m_numPointsRequested += data.getNumPoints();
More information about the Liblas-commits
mailing list