mirror of
https://git.datalinker.icu/kijai/ComfyUI-Hunyuan3DWrapper.git
synced 2025-12-09 04:44:26 +08:00
return relative glb path
This commit is contained in:
parent
f1150a7ac3
commit
af09b1c3a4
4
nodes.py
4
nodes.py
@ -425,8 +425,10 @@ class Hy3DExportMesh:
|
||||
output_glb_path = Path(full_output_folder, f'{filename}_{counter:05}_.glb')
|
||||
output_glb_path.parent.mkdir(exist_ok=True)
|
||||
mesh.export(output_glb_path)
|
||||
|
||||
relative_path = Path(subfolder) / f'{filename}_{counter:05}_.glb'
|
||||
|
||||
return (str(output_glb_path), )
|
||||
return (str(relative_path), )
|
||||
|
||||
NODE_CLASS_MAPPINGS = {
|
||||
"Hy3DModelLoader": Hy3DModelLoader,
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
trimesh
|
||||
diffusers
|
||||
diffusers>=0.31.0
|
||||
accelerate
|
||||
huggingface_hub
|
||||
einops
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user