Update nodes.py

This commit is contained in:
kijai 2025-04-14 16:18:35 +03:00
parent 04b4d350a0
commit b8e2d2c800

View File

@ -1032,6 +1032,9 @@ class Hy3DLoadMesh:
def load(self, glb_path): def load(self, glb_path):
if not os.path.exists(glb_path):
glb_path = os.path.join(folder_paths.get_input_directory(), glb_path)
trimesh = Trimesh.load(glb_path, force="mesh") trimesh = Trimesh.load(glb_path, force="mesh")
return (trimesh,) return (trimesh,)