SetDirty/SetHDirty - how to decrement?



  • On 20/09/2017 at 14:43, xxxxxxxx wrote:

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

    ---------
    Hello C4D community!

    Probably never asked. Is there any chance to change the value of internal dirty flags by the exact values that I want to give it? I want to experiment with some scheme where I can set SetDirty(flag, myvalue) and  SetHDirty(flag, myvalue). Dirty values should be saved from existing scene objects, then there should be some manipulations and then dirty values should be restored or reseted.

    Best regards,
    Aaron



  • On 21/09/2017 at 06:04, xxxxxxxx wrote:

    Hi Aaron94, thanks for writing us.

    I confirm that our API doesn't expose any method suitable for your needs nor the BaseObject::SetDirty() or BaseObject::SetHDirty() have been designed to allow this behavior.

    Best, Riccardo


Log in to reply