Open derodero24 opened 1 year ago
ご提案ありがとうございます。
「すべての規則の中で最も一致率が多い規則」
こちらの実装を検討します。
こちらのコミットで対応しました → https://github.com/saturday06/VRM-Addon-for-Blender/commit/88fccef5d84d0148e3dcaf01277860c1ecef5a0a https://github.com/saturday06/VRM-Addon-for-Blender/commit/0a8a04e32e525fafa98d5db579d9bac8ef06ea7b 次回のリリースに反映されます。ご提案ありがとうございました。
早急なご対応ありがとうございます!助かります!
バグについて
親指ボーンの命名が根本から
であった場合、「ボーンの自動割り当て/Automatic Bone Assignment」機能を使うと
のようになり、正しく割り当てられない。
バグの再現方法
もしくは
期待する動作 親指ボーンの命名が「proximal / intermediate / distal」形式になっていたらVRM0.xの規則に従って割り当て、 「metacarpal / proximal / distal」形式になっていたらVRM1.0の規則に従って割り当てる。
スクリーンショット
PC環境情報
提案
ソースコード
common/human_bone_mapper/human_bone_mapper.py
の関数create_human_bone_mapping()
にて、vrm0規則より先にvrm1規則と比較された結果、vrm1規則とマッチしていると判定されてしまうため、vrm0規則の意味がなくなっているように思います。 「最初にマッチした規則」を採用するのではなく、「すべての規則の中で最も一致率が多い規則」を採用する方が良いのではないかと感じました。