[Liblas-commits] hg: we should only set to our heaver if we actually have a refer...

liblas-commits at liblas.org liblas-commits at liblas.org
Wed Jun 29 16:13:10 EDT 2011


details:   http://hg.liblas.orghg/rev/6ffd597a8ef7
changeset: 3046:6ffd597a8ef7
user:      Howard Butler <hobu.inc at gmail.com>
date:      Wed Jun 29 15:13:06 2011 -0500
description:
we should only set to our heaver if we actually have a reference

diffstat:

 src/transform.cpp |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 43cb1509490b -r 6ffd597a8ef7 src/transform.cpp
--- a/src/transform.cpp	Wed Jun 29 14:56:59 2011 -0500
+++ b/src/transform.cpp	Wed Jun 29 15:13:06 2011 -0500
@@ -180,7 +180,12 @@
     
     if (this->ModifiesHeader()) 
     {
-        point.SetHeader(m_new_header);
+        if (m_new_header)
+            point.SetHeader(m_new_header);
+        else 
+        {
+            // FIXME? 
+        }
     }
 
     point.SetX(x);


More information about the Liblas-commits mailing list