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

[VRChat → VRM] Blinkのシェイプキーがnoneの場合に例外が発生するのを修正 #75

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

Conversation

PancakeTorto1se
Copy link

#28 のissueについて修正のPRを作成しました。

こちらの問題の原因ですが、VRC Avatar DescriptorのEye Look→Eyelids→Blendshape StatesのBlinkが-none-になっている場合に
以下のsettings.eyelidsBlendshapes[0]が-1になるためIndex out of rangeが発生していました。

settings.eyelidsSkinnedMesh.sharedMesh.GetBlendShapeName(settings.eyelidsBlendshapes[0]),

したがって、本修正ではこの値が設定されている場合に無視するようにしています。

…ェイプキーがnoneの場合に例外が発生するのを修正
@PancakeTorto1se PancakeTorto1se force-pushed the fix_blink_shapekey_is_none branch from 7db91c8 to 86ccd01 Compare October 3, 2024 13:11
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