THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/10/2009 at 07:56, xxxxxxxx wrote:
Cinema 4D Version: 10-11.5
Platform: Windows ;
Language(s) : C++ ;
In my plugin I'm altering bone deformers and as part of that process, I need to send a message to a bone to fix it and its children. This is intended to be exactly the same as hitting the 'Fix with children' button in the attribute manager for the bone.
This is the code snippet as it stands:
dc.id = DescID(BONEOBJECT_FIXCHILDS); \> doc->AddUndo(UNDO_CHANGE, boneObj); \> boneObj->Message(MSG_DESCRIPTION_COMMAND, &dc;); \>
The problem is that undoing this action requires two Ctrl-Z keystrokes (or clicking the undo icon on the toolbar). I'd like to have it only needing one, as in the AM. Is it possible to do that?