• R/O
  • SSH
  • HTTPS

mmdx: Commit


Commit MetaInfo

Revision47 (tree)
Zeit2010-03-07 22:50:20
Autorwilfrem

Log Message

SourceForge移行時にリリースビルドが動作しない問題が起こっていたのを修正

Ändern Zusammenfassung

Diff

--- trunk/MMDImporter/Motion/MMDMotionProcessor.cs (revision 46)
+++ trunk/MMDImporter/Motion/MMDMotionProcessor.cs (revision 47)
@@ -56,9 +56,10 @@
5656 for (long i = 0; i < input.FaceMotions.Length; i++)
5757 {
5858 result.FaceMotions[i] = new MMDFaceMotion();
59+ result.FaceMotions[i].Rate = input.FaceMotions[i].Rate;
5960 result.FaceMotions[i].FaceName = input.FaceMotions[i].FaceName;
6061 result.FaceMotions[i].FrameNo = input.FaceMotions[i].FrameNo;
61- result.FaceMotions[i].Rate = input.FaceMotions[i].Rate;
62+ float temp = input.FaceMotions[i].FrameNo;
6263 }
6364 //ライト、カメラモーションは後で実装
6465
--- trunk/MMDMotionLibrary/Motion2/FaceMotionData.cs (revision 46)
+++ trunk/MMDMotionLibrary/Motion2/FaceMotionData.cs (revision 47)
@@ -10,6 +10,10 @@
1010 public class FaceMotionData
1111 {
1212 /// <summary>
13+ /// 表情適応割合
14+ /// </summary>
15+ public float Rate { get; set; }
16+ /// <summary>
1317 /// 表情名
1418 /// </summary>
1519 public string FaceName { get; set; }//[15];
@@ -17,10 +21,6 @@
1721 /// フレームナンバー
1822 /// </summary>
1923 public DWORD FrameNo { get; set; }
20- /// <summary>
21- /// 表情適応割合
22- /// </summary>
23- public float Rate { get; set; }
2424 internal void Read(BinaryReader reader)
2525 {
2626 FaceName = MMDMotion2.GetString(reader.ReadBytes(15));
Show on old repository browser