/// <summary>
        /// Execution de la commande
        /// </summary>
        public void Execute()
        {
            // Delete a Keyframe at given position
            int iIndex = GetKeyframeIndex();

            if (iIndex >= 0)
            {
                m_psui.OnRemoveKeyframe(iIndex);
            }
        }
Esempio n. 2
0
        public void Unexecute()
        {
            // The PlayerScreen used at execute time may not be valid anymore...
            // The MetaData used at execute time may not be valid anymore...
            // (use case : Add KF + Close screen + undo + undo)

            // Delete Keyframe at given position
            int iIndex = GetKeyframeIndex();

            if (iIndex >= 0)
            {
                m_psui.OnRemoveKeyframe(iIndex);
            }
        }