SourceForge移行時にリリースビルドが動作しない問題が起こっていたのを修正
@@ -56,9 +56,10 @@ | ||
56 | 56 | for (long i = 0; i < input.FaceMotions.Length; i++) |
57 | 57 | { |
58 | 58 | result.FaceMotions[i] = new MMDFaceMotion(); |
59 | + result.FaceMotions[i].Rate = input.FaceMotions[i].Rate; | |
59 | 60 | result.FaceMotions[i].FaceName = input.FaceMotions[i].FaceName; |
60 | 61 | result.FaceMotions[i].FrameNo = input.FaceMotions[i].FrameNo; |
61 | - result.FaceMotions[i].Rate = input.FaceMotions[i].Rate; | |
62 | + float temp = input.FaceMotions[i].FrameNo; | |
62 | 63 | } |
63 | 64 | //ライト、カメラモーションは後で実装 |
64 | 65 |
@@ -10,6 +10,10 @@ | ||
10 | 10 | public class FaceMotionData |
11 | 11 | { |
12 | 12 | /// <summary> |
13 | + /// 表情適応割合 | |
14 | + /// </summary> | |
15 | + public float Rate { get; set; } | |
16 | + /// <summary> | |
13 | 17 | /// 表情名 |
14 | 18 | /// </summary> |
15 | 19 | public string FaceName { get; set; }//[15]; |
@@ -17,10 +21,6 @@ | ||
17 | 21 | /// フレームナンバー |
18 | 22 | /// </summary> |
19 | 23 | public DWORD FrameNo { get; set; } |
20 | - /// <summary> | |
21 | - /// 表情適応割合 | |
22 | - /// </summary> | |
23 | - public float Rate { get; set; } | |
24 | 24 | internal void Read(BinaryReader reader) |
25 | 25 | { |
26 | 26 | FaceName = MMDMotion2.GetString(reader.ReadBytes(15)); |