1
0
Fork 0

Fixed output bug in terrafit

This commit is contained in:
Ralf Gerlich 2007-12-19 09:34:24 +01:00
parent bb608ad0ef
commit e78a1aef88

View file

@ -180,6 +180,8 @@ void fit_file(const std::string& path) {
return;
}
gzprintf(fp,"%d\n",mesh->pointCount());
for (int x=0;x<DEM->width;x++) {
for (int y=0;y<DEM->height;y++) {
if (mesh->is_used(x,y) != DATA_POINT_USED)