[Liblas-commits] r1293 - trunk/apps
liblas-commits at liblas.org
liblas-commits at liblas.org
Fri Jun 5 11:24:11 EDT 2009
Author: hobu
Date: Fri Jun 5 11:24:08 2009
New Revision: 1293
URL: http://liblas.org/changeset/1293
Log:
try to fix #139, incorrect point source id setting
Modified:
trunk/apps/txt2las.c
Modified: trunk/apps/txt2las.c
==============================================================================
--- trunk/apps/txt2las.c (original)
+++ trunk/apps/txt2las.c Fri Jun 5 11:24:08 2009
@@ -253,7 +253,7 @@
"WARNING: point source ID %d is out of range of unsigned short\n",
temp_i);
/* point->point_source_ID = temp_i & 65535; */
- LASPoint_SetPointSourceId(point, temp_i & 65535);
+ LASPoint_SetPointSourceId(point, temp_i);
/*// then advance to next white space */
while (l[0] && l[0] != ' ' && l[0] != ',' && l[0] != '\t') l++;
}
More information about the Liblas-commits
mailing list