Custom Undo Notification



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 14/02/2007 at 00:25, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   R 10 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    Hi all!

    I'm trying to get a plugin undo system make use of the C4D undo stack.
    I want a way to add, to the C4D undo list, some sort of custom undo object and when an doUndo is done I will get a callback to handle the undo myself?

    / Jonas



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 15/02/2007 at 07:38, xxxxxxxx wrote:

    I read in an old thread about the only way of knowing some data in your BaseContainer changed, is to compare it with some ref. data, or to call GetDirty() on it. For me this means a lot of unessecary function calls.

    I wonder if it is possible in some way to get notified, for example if there would be some EVMSG_UNDO/REDO message. Or some way to provide a callback function to be executed when the user hit the undo/redo button.

    Or perhaps in some other way intercept C4D when undo/redo is done.

    Would really apreciate some advice on this.

    Thanks

    /Jonas



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 09/03/2007 at 03:38, xxxxxxxx wrote:

    sorry, this is not possible

    cheers,
    Matthias


Log in to reply