THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/04/2008 at 08:58, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9+
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
---------
Howdy,
It seems that if you call a DoUndo(), you can't send a tag a message anymore:
If I do this:
> if(doc->DoUndo()) \> { \> tag->Message(MY_UNDO_MESSAGE); \> }
and add this in TagData::Message() :
> case MY_UNDO_MESSAGE: \> GePrint("Message received - MY_UNDO_MESSAGE"); \> break;
It never prints to the console, so the tag never receives the message. If I comment out the "DoUndo()" line, the message is then received, but I need the DoUndo(). :o(
Is there another way to send the message to the tag?
Adios,
Cactus Dan