Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/02/2009 at 01:14, xxxxxxxx wrote:
User Information: Cinema 4D Version: 11 Platform: Windows ; Language(s) : C++ ;
--------- I need to call my deformer everytime that a particular object is modified (the points position is changed). To solve this I save all the object's points and I verify in the checkdirty function if some points are changed from last time. There is a more cleaver (and more quick) method to do this?
Thank's Lorenzo
On 24/02/2009 at 01:17, xxxxxxxx wrote:
Solved! Find the simple solution in an old post (I apologize in order to haven't seen it before)
ULONG dirty_bit = spline->GetDirty(DIRTY_DATA|DIRTY_MATRIX); if(dirty_bit!=s_dirty) { s_dirty = dirty_bit; op->SetDirty(DIRTY_MATRIX); /*Or DIRTY_DATA depending on when your deformer updates*/ }