Fix XS STL reader not populating stats.size correctly

svg-paths
Alessandro Ranellucci 2013-09-12 10:29:42 +02:00
parent bc48e17dff
commit d660a1de0a
1 changed files with 1 additions and 0 deletions

View File

@ -285,6 +285,7 @@ stl_read(stl_file *stl, int first_facet, int first)
stl->facet_start[i] = facet;
stl_facet_stats(stl, facet, first);
first = 0;
}
stl->stats.size.x = stl->stats.max.x - stl->stats.min.x;
stl->stats.size.y = stl->stats.max.y - stl->stats.min.y;