diff --git a/CHANGELOG.md b/CHANGELOG.md index cd4b8d5..f551091 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [2.3.4](https://github.com/Unity-Technologies/UnityMeshSimplifier/compare/v2.3.3...v2.3.4) (2020-08-25) + + +### Bug Fixes + +* **tests:** compile errors on 2018.4.26f1 ([38a1536](https://github.com/Unity-Technologies/UnityMeshSimplifier/commit/38a1536a22468599b4b6ffc380f00b2ff7d2e718)) + ## [2.3.3](https://github.com/Whinarn/UnityMeshSimplifier/compare/v2.3.2...v2.3.3) (2020-05-01) diff --git a/Tests/Editor/MeshUtilsTest.cs b/Tests/Editor/MeshUtilsTest.cs index c13e2c2..4e44eb2 100644 --- a/Tests/Editor/MeshUtilsTest.cs +++ b/Tests/Editor/MeshUtilsTest.cs @@ -412,7 +412,11 @@ public void ShouldGetMeshUVs() mesh.vertices = new Vector3[4]; for (int i = 0; i < uvs.Length; i++) { +#if UNITY_2018 + mesh.SetUVs(i, uvs[i].ToList()); +#else mesh.SetUVs(i, uvs[i]); +#endif } var allUVs = MeshUtils.GetMeshUVs(mesh); diff --git a/Tests/Editor/Whinarn.UnityMeshSimplifier.Editor.Tests.asmdef b/Tests/Editor/Whinarn.UnityMeshSimplifier.Editor.Tests.asmdef index 1da497b..a38422d 100644 --- a/Tests/Editor/Whinarn.UnityMeshSimplifier.Editor.Tests.asmdef +++ b/Tests/Editor/Whinarn.UnityMeshSimplifier.Editor.Tests.asmdef @@ -1,7 +1,10 @@ { "name": "Whinarn.UnityMeshSimplifier.Editor.Tests", "references": [ - "GUID:77ccaf49895b0d64e87cd4b4faf83c49" + "Whinarn.UnityMeshSimplifier.Runtime" + ], + "optionalUnityReferences": [ + "TestAssemblies" ], "includePlatforms": [ "Editor" @@ -11,7 +14,5 @@ "overrideReferences": false, "precompiledReferences": [], "autoReferenced": true, - "defineConstraints": [], - "versionDefines": [], - "noEngineReferences": false + "defineConstraints": [] } \ No newline at end of file diff --git a/package.json b/package.json index 6af7028..b42bce4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "com.whinarn.unitymeshsimplifier", "displayName": "Unity Mesh Simplifier", - "version": "2.3.3", + "version": "2.3.4", "unity": "2017.1", "description": "Simplifies 3D meshes with ease. Works both in the editor and during runtime in builds.", "type": "library",