Skip to content

Commit 47eeae8

Browse files
committed
Fix compile error in Unity 2023.1 or later
1 parent 59dd442 commit 47eeae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/MeshSimplifier.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ private static void CopyBoundsAndBindposes(Mesh source, Mesh destination)
235235
{
236236
destination.bounds = source.bounds;
237237
#if UNITY_2023_1_OR_NEWER
238-
var bindposes = mesh.GetBindposes();
238+
var bindposes = source.GetBindposes();
239239
if (bindposes.Length != 0)
240240
{
241241
destination.SetBindposes(bindposes);

0 commit comments

Comments
 (0)