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

    Attribute Manager switches Previous selection

    SDK Help
    0
    3
    385
    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 24/11/2015 at 00:50, xxxxxxxx wrote:

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

      ---------
      Hello.

      I get some strange behavior when i run my material plugin in R12 nad R13.
      Lets say i have the Move Tool selected. In Attribute manager (bottom-right area) i can see the groups and attributes related to Move Tool (soft selection, modeling axis etc).

      Then i click my material and the attribute manager switches to Material's attributes. Whenever i make any change in description (such as clicking a checkbox), the Attribute Manager always switches to the previous attribute manager. In this case Move Tool. Then, i click the material again make another change and again the Attribute Manager switches to Move Tool.

      What can cause this behavior ? It works fine in R14-17.

      Thank you.

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

        On 24/11/2015 at 01:48, xxxxxxxx wrote:

        Hi,

        we can only support the most recent version of Cinema 4D, usually making exceptions for the last one or two releases.
        Maybe somebody in the community has an idea, what's happening here.
        Otherwise I suggest to check the "Changes in the SDK" section in the SDK documentation of the versions in concern. Might of course also be a bug, that has been fixed since then.

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

          On 24/11/2015 at 02:11, xxxxxxxx wrote:

          Hello Andreas.

          I have managed to narrow it down a little bit.
          When i click the material, I have to check if my VideoPost plugin is selected in render settings.

          If not, i call:

          GeData parameter(MY_VIDEO_POST_PLUGIN_ID);
          active_render_data.SetParameter(DescLevel(RDATA_RENDERENGINE), parameter, DESCFLAGS_SET_USERINTERACTION);
          

          This probably causes the little flickering and switching to previous Attribute Manager.
          If i another value instead of DESCFLAGS_SET_USERINTERACTION it crashes.

          Is there any suggestion ? If not, i will drop this case in my project.

          Thank you.

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