Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blendshape restriction #188

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Benjythebee
Copy link
Contributor

@Benjythebee Benjythebee commented Dec 9, 2024

Add the ability to bring in Blendshape restrictions on a trait basis:

adds restrictedBlendshapes in traitRestrictions; for example:

  "traitRestrictions":{
    "jackets":{
      "restrictedTraits":["mask"],
      "restrictedTypes":[]
    },
    "mask":{
      "restrictedTraits":[],
      "restrictedTypes":[],
      "restrictedBlendshapes":["body"]
    }
  },

What does it do?

If I have:

    "A":{
      "restrictedBlendshapes":["B"]
    }

Then loading A will disable the blendshapes of B.

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