Bläddra i källkod

Fix GP-01 FB face parameters not serializing

habeebweeb 4 år sedan
förälder
incheckning
7a4b8889b4
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/Meido.cs

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/Meido/Meido.cs

@@ -452,7 +452,7 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
                 string faceKey = Utility.GP01FbFaceHash(morph, hash);
                 try
                 {
-                    float value = blendValues[(int)morph.hash[hash]];
+                    float value = blendValues[(int)morph.hash[faceKey]];
                     binaryWriter.Write(hash);
                     binaryWriter.Write(value);
                 }