Skip to content

Conversation

@koichiyamashita
Copy link
Contributor

CubismMotionController に「モーション再生中かどうか」を返すメソッドを追加しました。

@itoh-at-live2d-com itoh-at-live2d-com self-requested a review June 28, 2019 07:24
Copy link
Contributor

@itoh-at-live2d-com itoh-at-live2d-com left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@koichiyamashita
一旦ご確認頂けますでしょうか。

return false;
}

return _motionLayers[layerIndex].IsFinished;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IsFinishedはモーション再生の完了を示すフラグなので、
この実装の場合は、完了していると再生している状態になると思います。
意図通りの結果となっていますでしょうか?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

処理を誤っておりました。修正いたしました。

@itoh-at-live2d-com
Copy link
Contributor

@koichiyamashita
提供ありがとうございます!
社内で一旦動作試験と確認を行い、問題なければマージいたします。

Copy link
Contributor

@itoh-at-live2d-com itoh-at-live2d-com left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@koichiyamashita
動作、実装ともに問題ありませんでした。

@itoh-at-live2d-com
Copy link
Contributor

Add a getter method CubismMotionController.IsPlayingAnimation().
This function returns the animation playing state of cubism model.
True if playing the animation; otherwise.

@itoh-at-live2d-com itoh-at-live2d-com merged commit 44e6d70 into Live2D:develop Jun 28, 2019
@itoh-at-live2d-com
Copy link
Contributor

@koichiyamashita
ありがとうございます、マージしました🙇‍♀️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants