Multiple fixes

This commit is contained in:
Andrew Cassidy 2020-06-17 13:57:36 -07:00
parent 26b59400e9
commit fae34be358
4 changed files with 2 additions and 1 deletions

View File

@ -68,6 +68,6 @@
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup> <PropertyGroup>
<PostBuildEvent>sh -e -c "cp -v '$(TargetPath)' '$(SolutionDir)/../Distribution/GameData/ConformalDecals/Plugins'"</PostBuildEvent> <PostBuildEvent>sh -e -c "cp -v '$(TargetPath)' '$(SolutionDir)/../GameData/ConformalDecals/Plugins'"</PostBuildEvent>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View File

@ -95,6 +95,7 @@ namespace ConformalDecals {
materialProperties.AddOrGetTextureProperty("_Decal", true).TextureUrl = newFlagUrl; materialProperties.AddOrGetTextureProperty("_Decal", true).TextureUrl = newFlagUrl;
UpdateMaterials(); UpdateMaterials();
UpdateScale();
} }
private void SetFlagSymmetryCounterparts(string newFlagUrl) { private void SetFlagSymmetryCounterparts(string newFlagUrl) {