Update nodes.py

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

View File

@ -1031,6 +1031,9 @@ class Hy3DLoadMesh:
DESCRIPTION = "Loads a glb model from the given 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")