Inhibit keyboard shortcuts in Studio

Alessandro_AMAlessandro_AM Posts: 1,553

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: 19,933
    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_AMAlessandro_AM Posts: 1,553
    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.
Rocket Fuel