Fixed output bug in terrafit
This commit is contained in:
parent
bb608ad0ef
commit
e78a1aef88
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue