From ed4aada948a2eb6c0be0bea681403faeb5469c00 Mon Sep 17 00:00:00 2001 From: notargs Date: Fri, 12 Nov 2021 19:09:05 +0900 Subject: [PATCH] Fix jobs --- Assets/VRM10/Runtime/IO/Model/InterleaveMeshVerticesJob.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/VRM10/Runtime/IO/Model/InterleaveMeshVerticesJob.cs b/Assets/VRM10/Runtime/IO/Model/InterleaveMeshVerticesJob.cs index 1cb865bb4..d3249c45d 100644 --- a/Assets/VRM10/Runtime/IO/Model/InterleaveMeshVerticesJob.cs +++ b/Assets/VRM10/Runtime/IO/Model/InterleaveMeshVerticesJob.cs @@ -14,14 +14,14 @@ namespace UniVRM10 /// 渡されたバッファを一つのバッファにインターリーブする /// #if ENABLE_VRM10_BURST -// [BurstCompile] + [BurstCompile] #endif internal struct InterleaveMeshVerticesJob : IJobParallelFor { [WriteOnly, NativeDisableParallelForRestriction] private NativeArray _vertices; - [ReadOnly, NativeDisableParallelForRestriction] + [ReadOnly] private readonly NativeArray _positions; // default値を許容する