op->Message(MSG_UPDATE)?

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

On 12/10/2009 at 13:36, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   9.1+ 
Platform:   Windows  ; Mac  ;  Mac OSX  ; 
Language(s) :     C++  ;

---------
Howdy,

Are there specific times when it's not safe to call op->Message(MSG_UPDATE)?

I have a tag that does some calculations on a polygon object's points in the Execute() function and then at the end of the function, it calls op->Message(MSG_UPDATE). This seemed to be a cause of a crash when using the Bevel tool on a single selected edge of the polygonal object. If I comment out the op->Message(MSG_UPDATE) line, then it doesn't crash anymore.

So far the Bevel tool is the only thing that I've found that causes a crash.

In the SDK documentation it says:

> Quote: __
>
> * * *
>
> MSG_UPDATE
> Must be sent if the bounding box has to be recalculated. (Otherwise you can use MSG_CHANGE.)
>
>
> * * *

My assumption with that is that since the points were being altered by the tag, then MSG_UPDATE needed to be sent to the object. Is this correct?

Adios,
Cactus Dan