mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-16 07:34:05 -05:00
Merge pull request #2605 from ousttrue/fix/spring10_reconstruct_index
fix logicsIndex in ReconstructIfDirty
This commit is contained in:
commit
71b6b2a41b
|
|
@ -52,11 +52,6 @@ namespace UniGLTF.SpringBoneJobs
|
|||
var logicsIndex = 0;
|
||||
foreach (var buffer in _buffers)
|
||||
{
|
||||
if (_request.Any(x => !x.isAdd && x.buffer == buffer))
|
||||
{
|
||||
// 削除するので skip
|
||||
continue;
|
||||
}
|
||||
buffer.BackupCurrentTails(combined.CurrentTails, combined.NextTails, logicsIndex);
|
||||
logicsIndex += buffer.Logics.Length;
|
||||
}
|
||||
|
|
@ -68,7 +63,6 @@ namespace UniGLTF.SpringBoneJobs
|
|||
var (isAdd, buffer) = _request.Dequeue();
|
||||
if (isAdd)
|
||||
{
|
||||
// 速度 0 にする
|
||||
_buffers.AddLast(buffer);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user