diff --git a/VisualStudio/Properties/AssemblyInfo.cs b/VisualStudio/Properties/AssemblyInfo.cs index c633cc4..94e42db 100644 --- a/VisualStudio/Properties/AssemblyInfo.cs +++ b/VisualStudio/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.1.1")] -[assembly: AssemblyFileVersion("2.1.1")] +[assembly: AssemblyVersion("2.1.2")] +[assembly: AssemblyFileVersion("2.1.2")] diff --git a/VisualStudio/src/BetterPlacing.cs b/VisualStudio/src/BetterPlacing.cs index 7d40ff8..846eda5 100644 --- a/VisualStudio/src/BetterPlacing.cs +++ b/VisualStudio/src/BetterPlacing.cs @@ -163,6 +163,10 @@ internal static void PreparePlacableFurniture(GameObject gameObject) MeshFilter[] meshFilters = gameObject.GetComponentsInChildren(); foreach (MeshFilter eachMeshFilter in meshFilters) { + if (!eachMeshFilter.name.StartsWith(templateMeshFilter.name)) { + continue; + } + eachMeshFilter.mesh = templateMeshFilter.mesh; }