Explorar el Código

Fix non-existent pose soft locking pose selector

Closes #40
habeebweeb hace 3 años
padre
commit
1664c7e938
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      src/MeidoPhotoStudio.Plugin/Meido/Meido.cs

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

@@ -373,11 +373,15 @@ namespace MeidoPhotoStudio.Plugin
                 {
                     Utility.LogWarning($"{poseFilename}: Could not open because {e.Message}");
                     Constants.InitializeCustomPoses();
+                    SetPose(PoseInfo.DefaultPose);
+                    OnUpdateMeido();
                     return;
                 }
                 catch (Exception e)
                 {
                     Utility.LogWarning($"{poseFilename}: Could not apply pose because {e.Message}");
+                    SetPose(PoseInfo.DefaultPose);
+                    OnUpdateMeido();
                     return;
                 }
                 SetMune(true, left: true);