Fix flag decals not respecting aspect ratio

This commit is contained in:
2024-05-15 20:25:50 -07:00
parent c0d20f847d
commit b48db63a27
2 changed files with 9 additions and 0 deletions

View File

@ -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();