THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/09/2006 at 13:54, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.6
Platform: Windows ;
Language(s) : C++ ;
---------
Im writing a Tool plugin, and I want to make it possible to undo changes in it
s parameters.
How to do it?
I have tried:
doc->StartUndo() ;
doc->AddUndo( UNDO_CHANGE, (ToolData* )this) ;
or
doc->StartUndo() ;
doc->AddUndo( UNDO_CHANGE_SMALL, (DescriptionToolData* )this) ;
and other combinations. But Cinema crash on this strings.