[Liblas-commits] hg: put r3027 back again, ugh

liblas-commits at liblas.org liblas-commits at liblas.org
Tue Jun 28 12:20:17 EDT 2011


details:   http://hg.liblas.orghg/rev/3dc7a81a65f8
changeset: 3029:3dc7a81a65f8
user:      Howard Butler <hobu.inc at gmail.com>
date:      Tue Jun 28 11:20:13 2011 -0500
description:
put r3027 back again, ugh

diffstat:

 src/detail/writer/header.cpp |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 8e709186680d -r 3dc7a81a65f8 src/detail/writer/header.cpp
--- a/src/detail/writer/header.cpp	Tue Jun 28 11:15:34 2011 -0500
+++ b/src/detail/writer/header.cpp	Tue Jun 28 11:20:13 2011 -0500
@@ -154,6 +154,7 @@
             VariableRecord v;
             zpd.ConstructVLR(v);
             m_header.AddVLR(v);
+            m_header.SetDataOffset(m_header.GetDataOffset()+v.GetRecordLength());
 #else
             throw configuration_error("LASzip compression support not enabled in this libLAS configuration.");
 #endif


More information about the Liblas-commits mailing list