Update nodes.py

This commit is contained in:
Easymode 2025-02-18 14:44:57 +00:00 committed by GitHub
parent f71b120662
commit fc6b28cdde
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1264,7 +1264,7 @@ class Hy3DIMRemesh:
raise ValueError("Instant-meshes failed to remesh the mesh")
new_verts = new_verts.astype(np.float32)
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)