Disabled Parameters, how do you re-enable them?

Slate Forums Support Disabled Parameters, how do you re-enable them?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #978
    sebastiran
    Participant

    A very basic thing, but once you disable them there is no way to turn them on again. Now I’m not able to rotate my object unless I delete the entire Track. Which means deleting a lot of work.

    Is there a way to re-enable parameters.

    #979
    Gavalakis
    Keymaster

    Hello,
    This was actually a bug introduced in the last version. To temporary fix this quickly, please open up file AnimatableParameterEditor.cs and change line #96 which reads GUI.enabled = (hasAnyKey && parameterEnabled) || animParam.isExternal; TO GUI.enabled = true;

    If you encounter any problems, please let me know.
    Thanks.

    Join us on Discord: https://discord.gg/97q2Rjh

    #984
    sebastiran
    Participant

    Thanks for the reply. Only it did not work for me. I edited the code but I still don’t get the gear icon back.
    I put a Debug.Log in line 95 to test if the code was executed and the Debug.Log was never called. So my guess is that the code is not being executed even though the fix should work.
    I tried restarting Unity several times, but still no change. I’m using Unity 5.1.1f1.

    Edit: I tried putting a Debug.Log is AnimatableParameterDrawer.cs as well where the method AnimatableParameterEditor.ShowParameter is being called. But this Debug.Log also didn’t execute.

    #990
    Gavalakis
    Keymaster

    Hello and sorry for the late reply (I was on a trip away from office).
    Having the log not logging is really weird, because if that was the case then the AnimatableParameter UI would not even show 🙂
    Maybe you have disabled logging in the console?

    Also, please recheck my first reply post above, because I’ve editing just a few minutes after I posted (so maybe you’ve did the changes before I edit it) and please make sure you do the changes that are currently written in the post.

    Please confirm that you indeed did the changes that are now shown in the post.
    Thanks in advance.

    Join us on Discord: https://discord.gg/97q2Rjh

    #994
    sebastiran
    Participant

    I confirm that I did the changes that are now shown in the post and that I did not disable the logging in the console.
    Didn’t work unfortunately.

    Did it work when you tried it?

    #996
    Gavalakis
    Keymaster

    Hello and sorry for the late reply, but I got ill :/
    Yes, I did test the changes and they works fine. They still do, meaning that the “gear” button is always enabled and possible to click.
    It is very strange and this change does not work for you, and even stranger the fact that adding a Debug.Log in there does not show, since in that case you would be able to even see the Animated Parameter UI.
    Can you please post a screenshot of the changes you’ve made? (even though they are simple ones)

    Join us on Discord: https://discord.gg/97q2Rjh

    #1014
    sebastiran
    Participant

    I edited the code, my Rotation parameter is still disabled and I’m not getting the gear icon back. See screenshots.

    Attachments:
    You must be logged in to view attached files.
    #1022
    Gavalakis
    Keymaster

    Hello,
    Thanks for the screens. Now I see what you mean. I am sorry that I misunderstood what you said with a quite different thing. I though you were referring to the gear icon being grayed out in the inspector of some action clip, while this part of the UI is on a different place.

    Please open up CutsceneTrack.cs and at about line #455, please change it to be like the following code.
    I intentionally commented out the old code to make it easier for you to find and see the changes.

    Once again, I am sorry for the misunderstanding.
    Please let me know if you have any trouble with the changes.
    Thank you!

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.