Esempio n. 1
0
        private void SaveCurveEditorKeySelection()
        {
            // Synchronize current selection in curve editor and save selection snapshot in undo redo.
            if (m_State.showCurveEditor)
            {
                UpdateSelectedKeysFromCurveEditor();
            }
            else
            {
                UpdateSelectedKeysToCurveEditor();
            }

            m_CurveEditor.SaveKeySelection(AnimationWindowState.kEditCurveUndoLabel);
        }