Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Register
    • Login

    Is there any way to check deformcache dirty

    Cinema 4D SDK
    r20 c++
    3
    4
    670
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mike
      last edited by

      hi,
      I m confuse about if any way check deformcache dirty? baseobject:: IsDirty() not working properly, it always return true. I look for answers in forums, only a very old answer is caculate all points pos sum and compare , some times it is too slow to work. so , is there any way to check deformcache dirty better?
      hope your help.

      1 Reply Last reply Reply Quote 0
      • chuanzhenC
        chuanzhen
        last edited by chuanzhen

        try use GetDirty(DIRTYFLAGS_CACHE),compare last dirty and current dirty

        相信我,可以的!

        M 1 Reply Last reply Reply Quote 1
        • M
          mike @chuanzhen
          last edited by

          @chuanzhen thank you, is work : )

          1 Reply Last reply Reply Quote 0
          • M
            m_adam
            last edited by

            Hi @mike, I just wanted to confirm what @chuanzhen said.

            For more information see the C4DAtom Manual about the dirty stuff.

            Cheers,
            Maxime.

            MAXON SDK Specialist

            Development Blog, MAXON Registered Developer

            1 Reply Last reply Reply Quote 0
            • First post
              Last post