mirror of
https://github.com/godotengine/godot.git
synced 2025-02-16 15:50:45 +00:00
Merge pull request #88890 from clayjohn/SurfaceTool-tangent-hash
Include tangent in SurfaceTool vertex compare operator
This commit is contained in:
commit
10c3b00bd7
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user