Skip to content

Commit

Permalink
Merge pull request #854 from malaybaku/develop
Browse files Browse the repository at this point in the history
v2.0.11
  • Loading branch information
malaybaku committed Oct 19, 2022
2 parents bfed3b7 + b192d15 commit 931bc96
Show file tree
Hide file tree
Showing 17 changed files with 10,083 additions and 20 deletions.
2 changes: 1 addition & 1 deletion Batches/version.txt
@@ -1 +1 @@
v2.0.10
v2.0.11
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -4,10 +4,10 @@

Logo: by [@otama_jacksy](https://twitter.com/otama_jacksy)

v2.0.10
v2.0.11

* 作成: 獏星(ばくすたー)
* 2022/09/30
* 2022/10/18

WindowsでVRMを表示し、追加のデバイスなしで動かせるアプリケーションです。

Expand Down
4 changes: 2 additions & 2 deletions README_en.md
Expand Up @@ -5,10 +5,10 @@

Logo: by [@otama_jacksy](https://twitter.com/otama_jacksy)

v2.0.10
v2.0.11

* Author: Baxter
* 2022/Sep/30
* 2022/Oct/18

The VRM avatar application without any special device.

Expand Down
Expand Up @@ -40,17 +40,15 @@ public void ApplyNeutralClip(VRMBlendShapeProxy proxy, float weight = 1f)
{
if (HasValidNeutralClipKey)
{
//NOTE: 他の処理と被って値が1を超えるのを避けておく、一応
proxy.AccumulateValue(NeutralClipKey, Mathf.Min(weight, 1f - proxy.GetValue(NeutralClipKey)));
proxy.AccumulateValue(NeutralClipKey, weight);
}
}

public void ApplyOffsetClip(VRMBlendShapeProxy proxy)
{
if (HasValidOffsetClipKey)
{
//NOTE: 他の処理と被って値が1を超えるのを避けておく、一応
proxy.AccumulateValue(OffsetClipKey, 1f - proxy.GetValue(OffsetClipKey));
proxy.AccumulateValue(OffsetClipKey, 1f);
}
}

Expand Down
Expand Up @@ -135,7 +135,11 @@ public void Run(MotionRequest request)
if (request.UseBlendShape)
{
_blendShapeResetCts = new CancellationTokenSource();
ResetBlendShapeAsync(duration, _blendShapeResetCts.Token).Forget();
//NOTE: HoldBlendShape == falseの場合、必ず有効なdurationが入ってるはず
if (!request.HoldBlendShape)
{
ResetBlendShapeAsync(duration, _blendShapeResetCts.Token).Forget();
}
}

//アクセサリの処理
Expand Down
8 changes: 8 additions & 0 deletions VMagicMirror/Assets/Fonts.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 931bc96

Please sign in to comment.