Feature cubism2 - #22
Open
jerryshi1968 wants to merge 2 commits into
Open
Conversation
Owner
|
我已在重构桌宠相关的代码,下版本将会是桌宠客户端的大型更新,应该也会包含你的变动,不过我不会专门测试 cubism2 模型。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
增加同时支持cubism2模型。
主要改动:
PetModelMetadata.cs (line 27):新增 ResolveModelJsonPath(...),优先找 .model3.json,找不到再找 .model.json。
PetModelMetadata.cs (line 91):补了 Cubism 2 的 expressions / motions 小写字段解析。
PetServer.cs (line 26):主程序按新规则定位模型 JSON。
App.xaml.cs (line 25):桌宠客户端默认模型路径也改成同一套规则。
DeskPetServiceUI.razor (line 16):配置页提示已更新,说明支持 .model3.json 和 .model.json。