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

    DESCFLAGS_DESC_RECURSIONLOCK [SOLVED]

    SDK Help
    0
    4
    343
    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

      On 09/02/2015 at 05:22, xxxxxxxx wrote:

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

      ---------
      Hi,

      I would like to know what

      DESCFLAGS_DESC_RECURSIONLOCK
      

      is actually doing or used for? It is probably somehow flagging recursive calls to the description loading routine but when is this flag usually passed along and when is a plugin supposed to set the flag in GetDDescription() alongside DESCFLAGS_DESC_LOADED? Always? Or only in certain situations?

      I would really like to understand what this flag is all about (the sdk docs describe it as private but it seems to me that this could be quite a crucial flag when dealing with inherited description types)

      Thanks
      Best
      Samir

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

        On 09/02/2015 at 20:50, xxxxxxxx wrote:

        Hi Samir,

        That value is used in very specific cases internally.  It's when the GetDDescription() call has to call the node's GetDescription() call but doesn't want to get stuck in a recursive loop, and the function it calls breaks out of it if detected.  It's not for plugin developers to ever use, that's why it's marked private.  Please do not attempt to use it, it will probably only lead to malfunctions for your code anyway.

        Joey Gaspe
        SDK Support Engineer

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

          On 10/02/2015 at 00:54, xxxxxxxx wrote:

          Ah I see. Thanks Joey! That covers it.

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

            On 10/02/2015 at 09:40, xxxxxxxx wrote:

            Hi Katachi,

            Thanks for letting me know, I'll close this topic as solved.

            Joey Gaspe
            SDK Support Engineer

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