Use CRhinoUndoEventHandlerEx instead.
More...
#include <rhinoSdkDoc.h>
◆ CRhinoUndoEventHandler()
CRhinoUndoEventHandler::CRhinoUndoEventHandler |
( |
| ) |
|
◆ ~CRhinoUndoEventHandler()
virtual CRhinoUndoEventHandler::~CRhinoUndoEventHandler |
( |
| ) |
|
|
virtual |
◆ Undo()
virtual void CRhinoUndoEventHandler::Undo |
( |
const CRhinoCommand * |
cmd, |
|
|
const wchar_t * |
action_description, |
|
|
bool |
bCreatedByRedo, |
|
|
unsigned int |
undo_event_sn |
|
) |
| |
|
pure virtual |
Description: The Rhino Undo command will call this virtual Undo function when the event needs to be undone. You should override this function to undo changes in your plug-in data,
NEVER change any setting in the Rhino document or application. Rhino handles ALL changes to the application and document and you will break the Undo/Redo commands if you make any changes to the application or document. Parameters: cmd - [in] Command being undone. Can be NULL. action_description - [in] Description of what is being undone. Can be NULL. bCreatedByRedo - [in] True if a "Redo" was responsible for creating this record. undo_event_sn - [in] Runtime serial number Rhino assigned to the event.
◆ m_description
The AuditUndo command prints this description.