Skip to content

Commit

Permalink
Merge pull request #88890 from clayjohn/SurfaceTool-tangent-hash
Browse files Browse the repository at this point in the history
Include tangent in SurfaceTool vertex compare operator
  • Loading branch information
akien-mga committed Feb 27, 2024
2 parents 0499b57 + 2b2f957 commit 10c3b00
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scene/resources/surface_tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ bool SurfaceTool::Vertex::operator==(const Vertex &p_vertex) const {
return false;
}

if (tangent != p_vertex.tangent) {
return false;
}

if (color != p_vertex.color) {
return false;
}
Expand Down

0 comments on commit 10c3b00

Please sign in to comment.