Fannovel16 / comfyui_controlnet_aux

ComfyUI's ControlNet Auxiliary Preprocessors
Apache License 2.0
2.14k stars 202 forks source link

fix: fix tight_bbox related error in MeshGraphormer #396

Closed HWiese1980 closed 2 months ago

HWiese1980 commented 2 months ago

when mask_type tight_bbox is selected and there are no hands in the original picture, MeshGraphormer crashed with a NoneType is not subscriptable error. This change should fix this error and make sure the node runs through with an empty mask instead.