-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
fix(T&O): VRMのFirstPersonFlagをCategorizationKeyに追加する #1103
base: master
Are you sure you want to change the base?
Conversation
…ned Meshes with different FirstPerson settings
} | ||
#endif | ||
// note: unset will fallback to Auto | ||
return VrmFirstPersonFlag.Auto; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
このままだと手動MergeSkinMedMeshのあとのやつがすべてAutoに化けたりしちゃぃませんかね
少し対処法考えさせてください
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ObjectMappingの方でFirstPerson性を持たせせてあげる必要がありそうかなぁ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AvatarOptimizer/Editor/APIInternal/ComponentInfos.VRM0.cs
Lines 122 to 129 in e70328f
component.Renderers = component.Renderers | |
.Select(r => new VRMFirstPerson.RendererFirstPersonFlags | |
{ | |
Renderer = mappingSource.GetMappedComponent(r.Renderer).MappedComponent, | |
FirstPersonFlag = r.FirstPersonFlag | |
}) | |
.Where(r => r.Renderer) | |
.GroupBy(r => r.Renderer, r => r.FirstPersonFlag) |
みたいなことをObjectMappingBuilderを少しいじって取得できるようにしてもいいかも
すみません、しばらくかかりそうです!
|
Fix #1071
(この調子で無限に足し続けるってことにはならないと信じたいです)