Example #1
0
 private void OnAnimationCurrentFrameChanged(AnimationCurrentFrameChanged msg)
 {
     if (!msg.NoSceneUpdate && msg.AnimationId == _currentAnimationId)
     {
         CurrentDocument.ApplyCurrentAnimationFrameToScene(_currentAnimationId);
     }
 }
 private void OnCurrentAnimationFrameChanged(AnimationCurrentFrameChanged msg)
 {
     if (_editor.IsCurrentAnimation(msg.AnimationId))
     {
         foreach (var panel in TopSubPanels.OfType <NodeSubPanelViewModel>())
         {
             panel.Refresh();
         }
     }
 }