THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/02/2009 at 08:36, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10.1
Platform: Windows ; Mac ;
Language(s) : C++ ;
---------
Hi,
in the Circle example in the SDK, I saw the following function:
> void OSurfaceWire::CheckDirty(PluginObject\* op, BaseDocument\* doc) \> { \> if (doc->GetDirty(DIRTY_DATA)) op->SetDirty(DIRTY_DATA); \> }
But this sets the object dirty as soon as anything in the scene is changed. Is there a way to use the cache (last generated) spline, unless one of the generator's children has been changed?
I would like a solution like the DependenceList and GetCache() as it can be used in GetVirtualObjects(). But in this object (as in the circle example) just the function GetContour() is being used. Dependence list doesn't seem to work fine here.
Thanks for tips :)
Cheers,
Jack