• R/O
  • SSH
  • HTTPS

mmdx: Commit


Commit MetaInfo

Revision847 (tree)
Zeit2011-06-12 14:44:31
Autorwilfrem

Log Message

SlimMMDX側も修正

Ändern Zusammenfassung

Diff

--- branches/XNA4/SlimMMDX/Model/SlimMMDModel.cs (revision 846)
+++ branches/XNA4/SlimMMDX/Model/SlimMMDModel.cs (revision 847)
@@ -122,9 +122,9 @@
122122 /// 表情をモデルに適用
123123 /// </summary>
124124 /// <param name="faceManager">表情マネージャ</param>
125- protected override void SetFace(MMDFaceManager faceManager)
125+ protected override void SetFace(IMMDFaceManager faceManager)
126126 {
127- faceManager.ApplyToVertex(m_vertex);
127+ MMDFaceManager.ApplyToVertex((MMDFaceManager)faceManager, m_vertex);
128128 }
129129 /// <summary>
130130 /// スキニング行列をモデルに適用
--- branches/XNA4/SlimMMDX/Model/SlimMMDXFaceManager.cs (revision 846)
+++ branches/XNA4/SlimMMDX/Model/SlimMMDXFaceManager.cs (revision 847)
@@ -22,7 +22,7 @@
2222 for (int i = 0; i < pmdmodel.Skins.Length; ++i)
2323 {
2424 if (pmdmodel.Skins[i].SkinName != "base")
25- FaceRates.Add(pmdmodel.Skins[i].SkinName, 0f);
25+ faceRates.Add(pmdmodel.Skins[i].SkinName, 0f);
2626 else
2727 {
2828 BaseFaceIndex = i;
--- branches/XNA4/SlimMMDX/Model/MMDModelPart.cs (revision 846)
+++ branches/XNA4/SlimMMDX/Model/MMDModelPart.cs (revision 847)
@@ -93,7 +93,7 @@
9393 /// 表情をモデルに適用
9494 /// </summary>
9595 /// <param name="faceManager">表情マネージャ</param>
96- public virtual void SetFace(MMDFaceManager faceManager) { }//こちらではなにもしない
96+ public virtual void SetFace(IMMDFaceManager faceManager) { }//こちらではなにもしない
9797 /// <summary>
9898 /// 描画
9999 /// </summary>
Show on old repository browser