Skip to content

Commit

Permalink
Fixed vertex deletion in segments
Browse files Browse the repository at this point in the history
  • Loading branch information
ousnius committed Apr 18, 2020
1 parent 764bb7e commit 3138648
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/NIF/Geometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,8 @@ void BSTriShape::notifyVerticesDelete(const std::vector<ushort>& vertIndices) {

ApplyMapToTriangles(triangles, indexCollapse, &deletedTris);
numTriangles = triangles.size();

std::sort(deletedTris.begin(), deletedTris.end(), std::greater<>());
}

void BSTriShape::GetChildRefs(std::set<Ref*>& refs) {
Expand Down

0 comments on commit 3138648

Please sign in to comment.