Inhibit keyboard shortcuts in Studio

I remapped keyboard shortcuts so that for example, when the user press , the plugin performs an undo. Unfortunately the sequence is executed also in Studio, and I'd like to deny that. Couldn't find any info in the SDK, somebody knows how to do it?

Comments

  • Richard HaseltineRichard Haseltine Posts: 96,213
    edited December 1969

    That doesn't happen for me in a modal dialogue, nor even in a text box (click on a selected node to make the name editable, type something, ctrl-z will undo the typing but no changes in the scene). I can also undo changes in the script IDE pane without affecting the cene. In all those cases, of course, focus is clearly set to something other than the viewport - I'm not sure that clicking a button leaves focus in the used pane, so that may be your issue.

  • Alessandro MastronardiAlessandro Mastronardi Posts: 2,593
    edited December 1969

    That doesn't happen for me in a modal dialogue

    Agreed on that, and infact the issue occurs with non modal dialogues.

Sign In or Register to comment.