Fix apply_seam creating duplicate faces.

This commit is contained in:
Relintai 2022-01-19 01:28:28 +01:00
parent 670a059fbd
commit 8d68969ab5

View File

@ -885,6 +885,11 @@ static func apply_seam(mdr : MeshDataResource) -> void:
indices.push_back(i1)
indices.push_back(new_vert_size + 1)
indices.remove(j)
indices.remove(j)
indices.remove(j)
j -= 3
new_vert_size += 2
arrays[ArrayMesh.ARRAY_INDEX] = indices