diff --git a/GameData/ConformalDecals/Plugins/ConformalDecals.dll b/GameData/ConformalDecals/Plugins/ConformalDecals.dll index 32a5dbb..0cced2b 100644 Binary files a/GameData/ConformalDecals/Plugins/ConformalDecals.dll and b/GameData/ConformalDecals/Plugins/ConformalDecals.dll differ diff --git a/GameData/ConformalDecals/Versioning/ConformalDecals.version b/GameData/ConformalDecals/Versioning/ConformalDecals.version index 4dfbdd5..22d2b3b 100644 --- a/GameData/ConformalDecals/Versioning/ConformalDecals.version +++ b/GameData/ConformalDecals/Versioning/ConformalDecals.version @@ -6,8 +6,8 @@ { "MAJOR":0, "MINOR":2, - "PATCH":6, - "BUILD":1 + "PATCH":7, + "BUILD":0 }, "KSP_VERSION": { diff --git a/README.md b/README.md index febd796..11dcb47 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# Conformal Decals v0.2.6 -[![Build Status](https://travis-ci.org/drewcassidy/KSP-Conformal-Decals.svg?branch=release)](https://travis-ci.org/drewcassidy/KSP-Conformal-Decals) [![Art: CC BY-SA 4.0](https://img.shields.io/badge/Art%20License-CC%20BY--SA%204.0-orange.svg)](https://creativecommons.org/licenses/by-sa/4.0/) [![Code: GPL v3](https://img.shields.io/badge/Code%20License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) +# Conformal Decals v0.2.7 +[![Build Status](https://travis-ci.com/drewcassidy/KSP-Conformal-Decals.svg?branch=release)](https://travis-ci.com/drewcassidy/KSP-Conformal-Decals) [![Art: CC BY-SA 4.0](https://img.shields.io/badge/Art%20License-CC%20BY--SA%204.0-orange.svg)](https://creativecommons.org/licenses/by-sa/4.0/) [![Code: GPL v3](https://img.shields.io/badge/Code%20License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) ![Screenshot](http://pileof.rocks/KSP/images/ConformalDecalsHeader.png) diff --git a/Source/ConformalDecals/ConformalDecals.csproj b/Source/ConformalDecals/ConformalDecals.csproj index ab0a0dd..c05437a 100644 --- a/Source/ConformalDecals/ConformalDecals.csproj +++ b/Source/ConformalDecals/ConformalDecals.csproj @@ -5,6 +5,7 @@ false x64 1701;1702;CS0649;CS1591 + 0.2.7 @@ -35,19 +36,19 @@ - + - + - + - + diff --git a/Source/ConformalDecals/Properties/AssemblyInfo.cs b/Source/ConformalDecals/Properties/AssemblyInfo.cs index f2a1459..e73f444 100644 --- a/Source/ConformalDecals/Properties/AssemblyInfo.cs +++ b/Source/ConformalDecals/Properties/AssemblyInfo.cs @@ -1 +1 @@ -[assembly: KSPAssembly("ConformalDecals", 0, 2, 6)] \ No newline at end of file +[assembly: KSPAssembly("ConformalDecals", 0, 2)] \ No newline at end of file diff --git a/Source/ConformalDecals/Text/TextRenderer.cs b/Source/ConformalDecals/Text/TextRenderer.cs index d91821d..0704026 100644 --- a/Source/ConformalDecals/Text/TextRenderer.cs +++ b/Source/ConformalDecals/Text/TextRenderer.cs @@ -241,7 +241,7 @@ namespace ConformalDecals.Text { }; // SETUP TEXTURE - var texture = new Texture2D(textureSize.x, textureSize.y, textTextureFormat, true); + var texture = new Texture2D(textureSize.x, textureSize.y, textTextureFormat, false); // GENERATE PROJECTION MATRIX var halfSize = (Vector2) textureSize / PixelDensity / 2 / sizeRatio; @@ -268,7 +268,7 @@ namespace ConformalDecals.Text { // COPY TEXTURE BACK INTO RAM var prevRT = RenderTexture.active; RenderTexture.active = renderTex; - texture.ReadPixels(new Rect(0, 0, textureSize.x, textureSize.y), 0, 0, true); + texture.ReadPixels(new Rect(0, 0, textureSize.x, textureSize.y), 0, 0, false); texture.Apply(false, true); RenderTexture.active = prevRT;