mirror of
https://github.com/Relintai/broken_seals.git
synced 2025-01-11 13:51:11 +01:00
Fix apply_seam creating duplicate faces.
This commit is contained in:
parent
670a059fbd
commit
8d68969ab5
@ -884,7 +884,12 @@ static func apply_seam(mdr : MeshDataResource) -> void:
|
|||||||
indices.push_back(new_vert_size)
|
indices.push_back(new_vert_size)
|
||||||
indices.push_back(i1)
|
indices.push_back(i1)
|
||||||
indices.push_back(new_vert_size + 1)
|
indices.push_back(new_vert_size + 1)
|
||||||
|
|
||||||
|
indices.remove(j)
|
||||||
|
indices.remove(j)
|
||||||
|
indices.remove(j)
|
||||||
|
j -= 3
|
||||||
|
|
||||||
new_vert_size += 2
|
new_vert_size += 2
|
||||||
|
|
||||||
arrays[ArrayMesh.ARRAY_INDEX] = indices
|
arrays[ArrayMesh.ARRAY_INDEX] = indices
|
||||||
|
Loading…
Reference in New Issue
Block a user