mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-01 20:25:07 +08:00
parent
467b0d4431
commit
1b3b9194c0
@ -97,7 +97,10 @@ namespace nadena.dev.modular_avatar.core.armature_lock
|
|||||||
};
|
};
|
||||||
arrays.Add(InUseMask);
|
arrays.Add(InUseMask);
|
||||||
|
|
||||||
_allocationMap.OnSegmentDispose += seg => { SetInUseMask(seg.Offset, seg.Length, false); };
|
_allocationMap.OnSegmentDispose += seg =>
|
||||||
|
{
|
||||||
|
if (!_isDisposed) SetInUseMask(seg.Offset, seg.Length, false);
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
public NativeArrayRef<T> CreateArray<T>() where T : unmanaged
|
public NativeArrayRef<T> CreateArray<T>() where T : unmanaged
|
||||||
|
Loading…
Reference in New Issue
Block a user