C++ CRhinoUndoEventHandler::Undo argument bCreatedByRedo

Hello,

My plug-in has it’s own undo/redo operations that make use of CRhinoUndoEventHandler. When I set breakpoints in my Undo function, the bCreatedByRedo argument is never true, even if the undo record was created in a redo operation.

My question is, how do I indicate that an undo record is being created from a redo operation? Is this even something I should be worried about?

I should note that most of my experience on this matter comes from Rhino 4.0. I haven’t actually checked yet to see if undo/redo is handled differently in the Rhino 5 SDK.

-Luke

You tell me - why is this important to you?

I’m not sure we set this value, honestly.

– Dale