[Liblas-commits] r1093 - trunk/src
liblas-commits at liblas.org
liblas-commits at liblas.org
Thu Mar 12 13:40:46 EDT 2009
Author: hobu
Date: Thu Mar 12 13:40:46 2009
New Revision: 1093
URL: http://liblas.org/changeset/1093
Log:
fix #104, copy the LASColor in copy and assignment constructors of LASPoint
Modified:
trunk/src/laspoint.cpp
Modified: trunk/src/laspoint.cpp
==============================================================================
--- trunk/src/laspoint.cpp (original)
+++ trunk/src/laspoint.cpp Thu Mar 12 13:40:46 2009
@@ -68,7 +68,8 @@
m_angleRank(other.m_angleRank),
m_userData(other.m_userData),
m_pointSourceId(other.m_pointSourceId),
- m_gpsTime(other.m_gpsTime)
+ m_gpsTime(other.m_gpsTime),
+ m_color(other.m_color)
{
std::memcpy(m_coords, other.m_coords, sizeof(m_coords));
}
@@ -87,6 +88,7 @@
m_userData = rhs.m_userData;
m_pointSourceId = rhs.m_pointSourceId;
m_gpsTime = rhs.m_gpsTime;
+ m_color = rhs.m_color;
}
return *this;
}
More information about the Liblas-commits
mailing list