THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/10/2003 at 08:32, xxxxxxxx wrote:
Cinema 4D Version: 8.207
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
I need to be able to return from the overloaded ObjectData::ModifyObject function without changing the cache. In some of my deformers the procedures are very computationally intensive and the user needs to be able to tweak several parameters and then press an 'update' button to see the result. Since parameter changes always set the object data cache flag to DIRTY_DATA the ObjectData::CheckDirty function is skipped. I need a way to return from the ObjectData::ModifyObject function without destroying the previous deformer cache. No matter what I do the cache always seems to be destroyed. Does anyone have any useful ideas?
On 03/11/2003 at 13:29, xxxxxxxx wrote:
To answer soon?
On 03/11/2003 at 22:16, xxxxxxxx wrote:
Unfortunately you cannot affect the dirty flag, other than making it dirty. One way would be to keep a cache of your own. Another would be to return a dummy proxy object during the period between detecting that a parameter has changed and that the user has pressed Update.