diff --git a/CHANGELOG.md b/CHANGELOG.md index 336aae9..6f4bb95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,13 @@ All notable changes to this project will be documented in this file | website | https://forum.kerbalspaceprogram.com/index.php?/topic/194802-18-111-conformal-decals | | author | Andrew Cassidy | +## Unreleased + +### Fixed + +- Fixed flag decals sometimes not respecting image aspect ratio + + ## 0.2.12 - 2022-10-31 ### Changed diff --git a/Source/ConformalDecals/ModuleConformalFlag.cs b/Source/ConformalDecals/ModuleConformalFlag.cs index d466b9d..34e78ea 100644 --- a/Source/ConformalDecals/ModuleConformalFlag.cs +++ b/Source/ConformalDecals/ModuleConformalFlag.cs @@ -114,6 +114,8 @@ namespace ConformalDecals { var ratio = DecalConfig.AspectRatios[textureURL]; this.Log($"Overriding aspect ratio for {textureURL} with {ratio}"); textureProperty.AspectRatio = ratio; + } else { + textureProperty.AspectRatio = -1.0f; } UpdateMaterials();