|
Line 0
Link Here
|
|
|
1 |
--- src/modules/io/io_shapes_las/las_export.cpp.orig 2014-01-09 10:24:11 UTC |
| 2 |
+++ src/modules/io/io_shapes_las/las_export.cpp |
| 3 |
@@ -333,12 +333,12 @@ bool CLAS_Export::On_Execute(void) |
| 4 |
y = pPoints->Get_Y(i); |
| 5 |
z = pPoints->Get_Z(i); |
| 6 |
|
| 7 |
- x < xmin ? xmin = x : NULL; |
| 8 |
- x > xmax ? xmax = x : NULL; |
| 9 |
- y < ymin ? ymin = y : NULL; |
| 10 |
- y > ymax ? ymax = y : NULL; |
| 11 |
- z < zmin ? zmin = z : NULL; |
| 12 |
- z > zmax ? zmax = z : NULL; |
| 13 |
+ x < xmin ? xmin = x : 0.0; |
| 14 |
+ x > xmax ? xmax = x : 0.0; |
| 15 |
+ y < ymin ? ymin = y : 0.0; |
| 16 |
+ y > ymax ? ymax = y : 0.0; |
| 17 |
+ z < zmin ? zmin = z : 0.0; |
| 18 |
+ z > zmax ? zmax = z : 0.0; |
| 19 |
|
| 20 |
point.SetCoordinates(x, y, z); |
| 21 |
|