THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/01/2009 at 20:00, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.1+
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
---------
Howdy,
The SDK documentation says:
> Must be sent if the bounding box has to be recalculated.
> (Otherwise you can use MSG_CHANGE.)
But there is a problem sending MSG_UPDATE to an object from the TagData::Execute() function (expression tag) when in any of the edit modes and using the Knife tool. When the TagData::Message() function receives the message MSG_POINTS_CHANGED along with a VariableChanged structure, the vc->new_cnt is not correct. If I comment out the line:
> //op->Message(MSG_UPDATE);
... in the TagData::Execute() function, then the vc->new_cnt is correct.
Is this a bug, or are there special rules on when you can send MSG_UPDATE to an object?
Adios,
Cactus Dan