Index: TDCG/Viewer.cs
===================================================================
--- TDCG/Viewer.cs (revision 2187)
+++ TDCG/Viewer.cs (working copy)
@@ -861,7 +861,7 @@
if (frame_len > 0)
{
long dt = DateTime.Now.Ticks - start_ticks;
- int new_frame_index = (int)((start_frame_index + dt / wait) % frame_len);
+ int new_frame_index = (start_frame_index + (int)(dt * 0.0000001 * 60.0)) % frame_len;
Debug.Assert(new_frame_index >= 0);
Debug.Assert(new_frame_index < frame_len);
frame_index = new_frame_index;
@@ -913,7 +913,6 @@
fig.UpdateBoneMatrices();
}
}
- long wait = (long)(10000000.0f / 60.0f);
private int frame_index = 0;
/// <summary>
Index: TDCG/TSOFile.cs
===================================================================
--- TDCG/TSOFile.cs (revision 2187)
+++ TDCG/TSOFile.cs (working copy)
@@ -411,6 +411,9 @@
/// 選択中であるか
public bool selected = false;
+ /// ウェイト乗数
+ public float factor;
+
/// <summary>
/// 頂点を読みとります。
/// </summary>