• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

コミットメタ情報

リビジョン723d56cc6236452bc0f5e8cd0d6f0035f6e64198 (tree)
日時2013-11-09 04:16:14
作者HMML <hmml3939@gmai...>
コミッターHMML

ログメッセージ

Use current local motion for edit initial motion.

変更サマリ

差分

--- a/MMM_GraphEditor/GraphPort.cs
+++ b/MMM_GraphEditor/GraphPort.cs
@@ -158,6 +158,12 @@ namespace MMM_GraphEditor
158158 bool is_rot_modified = false;
159159 Vector3 rot_axis = new Vector3(0, 0, 0);
160160
161+ if (scene.MarkerPosition == o_mfd.FrameNumber)
162+ {
163+ pos = target_layer.CurrentLocalMotion.Move;
164+ rot = target_layer.CurrentLocalMotion.Rotation;
165+ }
166+
161167 switch (key_move_target.Type)
162168 {
163169 case IDX_POS_X:
@@ -219,7 +225,7 @@ namespace MMM_GraphEditor
219225 target_layer.Frames.AddKeyFrame(mfd);
220226
221227 // TODO: reset current motion always!!!
222- if (scene.MarkerPosition == mfd.FrameNumber)
228+ if (scene.MarkerPosition == o_mfd.FrameNumber)
223229 {
224230 target_layer.CurrentLocalMotion = new MotionData(pos, rot);
225231 }