diff --git a/GameData/ConformalDecals/Parts/decal-text.cfg b/GameData/ConformalDecals/Parts/decal-text.cfg index a351190..d889a93 100644 --- a/GameData/ConformalDecals/Parts/decal-text.cfg +++ b/GameData/ConformalDecals/Parts/decal-text.cfg @@ -49,6 +49,8 @@ PART { name = ModuleConformalText + text = Text + shader = ConformalDecals/Decal/Text useBaseNormal = true scaleMode = MINIMUM diff --git a/GameData/ConformalDecals/Plugins/ConformalDecals.dll b/GameData/ConformalDecals/Plugins/ConformalDecals.dll index d2589e7..79e3513 100644 --- a/GameData/ConformalDecals/Plugins/ConformalDecals.dll +++ b/GameData/ConformalDecals/Plugins/ConformalDecals.dll @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:30a4feb4c4ae642efff196aa35771db01257ffad1956a737f868a2dc11628b95 +oid sha256:4f3b8c06769c593324b408afccf455ab92549c0cb021457df94bbfb7f65bdb44 size 87552 diff --git a/Source/ConformalDecals/ModuleConformalDecal.cs b/Source/ConformalDecals/ModuleConformalDecal.cs index e77e779..1ff3b53 100644 --- a/Source/ConformalDecals/ModuleConformalDecal.cs +++ b/Source/ConformalDecals/ModuleConformalDecal.cs @@ -512,7 +512,7 @@ namespace ConformalDecals { cutoffField.guiActiveEditor = cutoffAdjustable; wearField.guiActiveEditor = useBaseNormal; - var steps = 20; + var steps = 40; if (scaleAdjustable) { var minValue = Mathf.Max(Mathf.Epsilon, scaleRange.x); diff --git a/Source/ConformalDecals/ModuleConformalText.cs b/Source/ConformalDecals/ModuleConformalText.cs index 5e7221e..baca9ea 100644 --- a/Source/ConformalDecals/ModuleConformalText.cs +++ b/Source/ConformalDecals/ModuleConformalText.cs @@ -6,12 +6,12 @@ using UnityEngine; namespace ConformalDecals { public class ModuleConformalText : ModuleConformalDecal, ISerializationCallbackReceiver { - [KSPField(isPersistant = true)] public string text = "Hello World!"; + [KSPField(isPersistant = true)] public string text = "Text"; [KSPField(isPersistant = true)] public Color fillColor = Color.black; [KSPField(isPersistant = true)] public Color outlineColor = Color.white; - [KSPField] public Vector2 lineSpacingRange = new Vector2(-20, 50); - [KSPField] public Vector2 charSpacingRange = new Vector2(-20, 50); + [KSPField] public Vector2 lineSpacingRange = new Vector2(-50, 50); + [KSPField] public Vector2 charSpacingRange = new Vector2(-50, 50); // serialization-only fields. do not use except in serialization functions [KSPField(isPersistant = true)] public string fontName = "Calibri SDF";