Skip to content

Fix crashes and errors if missing data#30

Open
Kidev wants to merge 1 commit intofssorc:mainfrom
Kidev:main
Open

Fix crashes and errors if missing data#30
Kidev wants to merge 1 commit intofssorc:mainfrom
Kidev:main

Conversation

@Kidev
Copy link

@Kidev Kidev commented Oct 8, 2025

Fix crashes 'NoneType' object is not subscriptable and IndexError: list index out of range happening when:

  • FaceShaperCropper gets a face_index value that is not in range
  • FaceShaperComposite gets input from a FaceShaperCropper that just failed to find an appropriate face (for out of range face_index for example).

This makes the node much more reliable when doing automated tasks, and will simply skip frames where the number of faces is not that expected (due to angles or similar).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant