mirror of
https://git.datalinker.icu/kijai/ComfyUI-Hunyuan3DWrapper.git
synced 2026-05-02 14:09:10 +08:00
Update nodes.py
This commit is contained in:
parent
f71b120662
commit
fc6b28cdde
2
nodes.py
2
nodes.py
@ -1264,7 +1264,7 @@ class Hy3DIMRemesh:
|
|||||||
raise ValueError("Instant-meshes failed to remesh the mesh")
|
raise ValueError("Instant-meshes failed to remesh the mesh")
|
||||||
new_verts = new_verts.astype(np.float32)
|
new_verts = new_verts.astype(np.float32)
|
||||||
if triangulate_result:
|
if triangulate_result:
|
||||||
new_faces = trimesh.geometry.triangulate_quads(new_faces)
|
new_faces = Trimesh.geometry.triangulate_quads(new_faces)
|
||||||
|
|
||||||
new_mesh = Trimesh.Trimesh(new_verts, new_faces)
|
new_mesh = Trimesh.Trimesh(new_verts, new_faces)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user