Skip to content

Commit

Permalink
Do increase vertex count
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsdukai committed Apr 6, 2023
1 parent 55f4cc1 commit adf6690
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,8 @@ impl World {
// increase the vertex count, because the vertices have been counted
// already, these might be cells where the object does not actually have a
// vertex.
*cell_vtx_cnt.entry(cellid).or_insert(0) += 0;
// REVIEW: actually, let's just increase the vertex count
*cell_vtx_cnt.entry(cellid).or_insert(1) += 1;
}
}

Expand Down

0 comments on commit adf6690

Please sign in to comment.