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

    API: Bogus default value in SearchPluginMenuResource() declaration

    Cinema 4D SDK
    r21
    2
    5
    619
    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.
    • fwilleke80F
      fwilleke80
      last edited by fwilleke80

      Hi,

      it seems the following function from the API is using an outdated default value

      GeData* SearchPluginMenuResource(const maxon::String &identifier = "IDS_EDITOR_PLUGINS"_s)
      

      An ID with the name "IDS_EDITOR_PLUGINS" is not used anymore since R21. It seems to be IDS_EDITOR_PIPELINE now. Hence, a menu that should appear after the "Extensions" menu now appears in the rightmost position, when using the default.

      Cheers,
      Frank

      www.frankwilleke.de
      Only asking personal code questions here.

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

        HI, @fwilleke80 thanks for pointing it to us.

        And I can only confirm the issue and inform you that I've open a bug report about it.
        Cheers,
        Maxime.

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        1 Reply Last reply Reply Quote 0
        • fwilleke80F
          fwilleke80
          last edited by

          👍

          Thank you!

          www.frankwilleke.de
          Only asking personal code questions here.

          1 Reply Last reply Reply Quote 0
          • fwilleke80F
            fwilleke80
            last edited by

            @m_adam
            The same probably applies to:

            GeData* SearchPluginSubMenuResource(const maxon::String &identifier = "IDS_EDITOR_PLUGINS"_s, BaseContainer *bc = nullptr)
            

            www.frankwilleke.de
            Only asking personal code questions here.

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

              @fwilleke80 said in API: Bogus default value in SearchPluginMenuResource() declaration:

              IDS_EDITOR_PLUGINS

              Yes and also affect python.

              MAXON SDK Specialist

              Development Blog, MAXON Registered Developer

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