From ef22af18591e1f8528aacd6769e4e02622de8d4b Mon Sep 17 00:00:00 2001 From: DeathWeasel1337 Date: Thu, 28 Feb 2019 21:46:17 -0600 Subject: [PATCH] Fix for low poly --- KK_UncensorSelector/KK_UncensorSelector.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/KK_UncensorSelector/KK_UncensorSelector.cs b/KK_UncensorSelector/KK_UncensorSelector.cs index a8a825c0..f401b065 100644 --- a/KK_UncensorSelector/KK_UncensorSelector.cs +++ b/KK_UncensorSelector/KK_UncensorSelector.cs @@ -31,7 +31,7 @@ public class KK_UncensorSelector : BaseUnityPlugin public const string GUID = "com.deathweasel.bepinex.uncensorselector"; public const string PluginName = "Uncensor Selector"; public const string PluginNameInternal = "KK_UncensorSelector"; - public const string Version = "2.6"; + public const string Version = "2.6.1"; private const string UncensorKeyRandom = "Random"; internal static ChaControl CurrentCharacter; internal static ChaFileControl CurrentChaFile; @@ -206,6 +206,8 @@ private static void UpdateUncensor(ChaControl chaControl, UncensorData uncensor) { string OOBase = uncensor?.OOBase ?? Defaults.OOBase; string Asset = uncensor?.Asset ?? (chaControl.sex == 0 ? Defaults.AssetMale : Defaults.AssetFemale); + if (chaControl.hiPoly == false) + Asset += "_low"; GameObject uncensorCopy = CommonLib.LoadAsset(OOBase, Asset, true); foreach (var mesh in chaControl.gameObject.GetComponentsInChildren(true))