Attribute Manager switches Previous selection
-
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.
-
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. -
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.