[Liblas-commits] hg: typo for #227
liblas-commits at liblas.org
liblas-commits at liblas.org
Tue Jun 21 10:57:06 EDT 2011
details: http://hg.liblas.orghg/rev/17416f74dd67
changeset: 2963:17416f74dd67
user: Howard Butler <hobu.inc at gmail.com>
date: Tue Jun 21 09:57:02 2011 -0500
description:
typo for #227
diffstat:
src/point.cpp | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diffs (40 lines):
diff -r ec9822631819 -r 17416f74dd67 src/point.cpp
--- a/src/point.cpp Tue Jun 21 09:53:14 2011 -0500
+++ b/src/point.cpp Tue Jun 21 09:57:02 2011 -0500
@@ -395,23 +395,19 @@
// FIXME: copy other custom dimensions here? resetting the
// headerptr can be catastrophic in a lot of cases.
- } else
- {
- m_header_new = header;
- return;
- }
+ }
double x;
double y;
double z;
-
+
if (bSetCoordinates)
{
x = GetX();
y = GetY();
z = GetZ();
}
-
+
// The header's scale/offset can change the raw storage of xyz.
// SetHeaderPtr can result in a rescaling of the data.
m_header_new = header;
@@ -421,7 +417,8 @@
SetX(x);
SetY(y);
SetZ(z);
- }
+ }
+
}
HeaderOptionalConstRef Point::GetHeader() const
More information about the Liblas-commits
mailing list