Browse Source

Fix "Private Mode" maid interfering with MPS

Closes #36
habeebweeb 3 years ago
parent
commit
87c790856b

+ 5 - 1
src/MeidoPhotoStudio.Plugin/Managers/MeidoManager.cs

@@ -62,7 +62,11 @@ namespace MeidoPhotoStudio.Plugin
 
         public void Activate()
         {
-            GameMain.Instance.CharacterMgr.ResetCharaPosAll();
+            characterMgr.ResetCharaPosAll();
+
+            if (!MeidoPhotoStudio.EditMode)
+                characterMgr.DeactivateMaid(0);
+
             numberOfMeidos = characterMgr.GetStockMaidCount();
             Meidos = new Meido[numberOfMeidos];
 

+ 2 - 0
src/MeidoPhotoStudio.Plugin/Meido/Meido.cs

@@ -213,6 +213,8 @@ namespace MeidoPhotoStudio.Plugin
 
             IKManager.Initialize();
 
+            SetFaceBlendSet(defaultFaceBlendSet);
+
             IK = true;
             Stop = false;
             Bone = false;