/// <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); } }
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); } }