diff --git a/src/Prep/TerraFit/terrafit.cc b/src/Prep/TerraFit/terrafit.cc index a23fb5d4..fbbb26c6 100644 --- a/src/Prep/TerraFit/terrafit.cc +++ b/src/Prep/TerraFit/terrafit.cc @@ -180,6 +180,8 @@ void fit_file(const std::string& path) { return; } + gzprintf(fp,"%d\n",mesh->pointCount()); + for (int x=0;xwidth;x++) { for (int y=0;yheight;y++) { if (mesh->is_used(x,y) != DATA_POINT_USED)