示例#1
0
文件: Editor.cs 项目: thomasvt/pose
 private void OnAnimationCurrentFrameChanged(AnimationCurrentFrameChanged msg)
 {
     if (!msg.NoSceneUpdate && msg.AnimationId == _currentAnimationId)
     {
         CurrentDocument.ApplyCurrentAnimationFrameToScene(_currentAnimationId);
     }
 }
示例#2
0
 private void OnCurrentAnimationFrameChanged(AnimationCurrentFrameChanged msg)
 {
     if (_editor.IsCurrentAnimation(msg.AnimationId))
     {
         foreach (var panel in TopSubPanels.OfType <NodeSubPanelViewModel>())
         {
             panel.Refresh();
         }
     }
 }