On 19/11/2015 at 00:54, xxxxxxxx wrote:
Cinema 4D Version: R17
Platform: Mac ;
Language(s) : C++ ;
I'm trying to change the points and segments of a spline from a tag plugin.
I can do this easily enough using the SplineObject() API. However, after I do, it doesn't immediately update in the viewport. I have to mouse over the viewport first (I don't need to click or anything though, which is weird, so long as the mouse enters the viewport region of the C4D window) before it'll update.
I'm sending MSG_UPDATE to the spline object after I change the points. Is there something else I have to do as well?
I know the API docs mention a MSG_SEGMENTS_CHANGED message, but that appears to be used for messaging a spline object and getting it to change points and stuff through the Message() interface (and not directly using the SplineObject() API).