GVO and tool input

On 18/04/2016 at 03:16, xxxxxxxx wrote:

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


I have an object plugin with spline child input but I would like it to only evaluate my code in GVO if the user is not moving or editing the spline's vertices. What is the correct way to do this and is this valid at all?


On 19/04/2016 at 11:05, xxxxxxxx wrote:

Hello Samir,

I guess, you'd like to speed up user interaction by not updating your generated object. While you could check for example the dirty state of the spline child, you will run into problems, as this somewhat contradicts Cinema's event system. The most obvious problem will be, that there won't be an event, when the user finishes modifying the spline. So your GVO won't be called and you won't get a chance to finally update your object.
There may be dirty workarounds for this situation, but I'd rather not suggest these as an official solution. Sorry.

On 19/04/2016 at 11:18, xxxxxxxx wrote:

Thanks Andreas.

I have an alternative up my sleeve already but thought I'd check first (would have meant much less work).