IsDirty for deformed points [SOLVED]

  • On 29/04/2016 at 17:56, xxxxxxxx wrote:

    How can I check if the points of an object were chanced by a deformer or by joints?
    Is it with IsDirty? If yes, how?

  • On 02/05/2016 at 01:57, xxxxxxxx wrote:


    IsDirty() has nothing to do which changes of objects. It is used together with SetDirty() and Toch() inside a generator to handle child input objects. I guess you talk about GetDirty().

    GetDirty() together with DIRTYFLAGS_CACHE seems to deliver updated values when an object (or its deform cache) is changed by a child deformer.

    Best wishes,

  • On 02/05/2016 at 03:55, xxxxxxxx wrote:

    So, I must keep a global class variable with the checksum and check if it changed, in order to evaluate if the mesh changed?

  • On 06/05/2016 at 09:08, xxxxxxxx wrote:


    yes, to compare two values you must store the previous value. What's the best way to store the value complete depends on what you actually do.

    Best wishes,

  • On 06/05/2016 at 12:47, xxxxxxxx wrote:

    I did it and it works fine.
    Thank you, Sebastian.

Log in to reply