[Liblas-commits] hg: add comment
liblas-commits at liblas.org
liblas-commits at liblas.org
Wed Feb 23 09:28:07 EST 2011
details: http://hg.liblas.orghg/rev/46e316a66b0d
changeset: 2889:46e316a66b0d
user: Howard Butler <hobu.inc at gmail.com>
date: Wed Feb 23 08:28:01 2011 -0600
description:
add comment
diffstat:
apps/las2las.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diffs (14 lines):
diff -r 08ce44e1af3d -r 46e316a66b0d apps/las2las.cpp
--- a/apps/las2las.cpp Tue Feb 22 14:09:47 2011 -0600
+++ b/apps/las2las.cpp Wed Feb 23 08:28:01 2011 -0600
@@ -89,6 +89,10 @@
}
reader.Reset();
+ // If we have any reprojection going on, we have to reset the offsets
+ // of the HeaderPtr that is applied to the points as they are reprojected
+ // or things will get screwed up when we go to re-assign the header
+ // as we write the points with the min-offset
std::vector<liblas::TransformPtr> transforms = reader.GetTransforms();
std::vector<liblas::TransformPtr> new_transforms;
for (std::size_t i = 0; i < transforms.size(); i++)
More information about the Liblas-commits
mailing list