Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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
    • Login

    MSG_MODIFIER_CHECK

    SDK Help
    0
    2
    289
    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.
    • H
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 02/03/2003 at 10:21, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.012 
      Platform:      
      Language(s) :   C.O.F.F.E.E  ;

      ---------
      I am working on a new deformer that takes inputs as baselinks. I have been trying to figure out how to update the deformer when the source objects are altered. It seems this little message might have something to do with that. First, how do I know if one of the source objects changed ( in v7 I only used children, but this seems like it should allow the obejcts to come from anywhere in the scene correct? ). Second, do I set the deformer to dirty_data if the source objects have changed?

      Thanks!

      bt

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 05/03/2003 at 00:20, xxxxxxxx wrote:

        First of all, is this really C.O.F.F.E.E.? Sounds more like C++ to me if you have BaseLinks.
        Second, yes you should listen for MSG_MODIFIER_CHECK. When you get this message you should evaluate your links and see if GetDirty() checksum has changed. (You can store the old values as a member in your object class.) If the dirty checksum has changed you should call node->SetDirty(DIRTY_DATA). This is how the spline deformer does it.

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