Digital Art Zone

 
     
Inhibit keyboard shortcuts in Studio
Posted: 08 September 2012 05:12 PM   [ Ignore ]
Active Member
Avatar
RankRank
Total Posts:  775
Joined  2009-10-27

I remapped keyboard shortcuts so that for example, when the user press <CTRL><Z>, 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?

 Signature 

Blog
FB
YT
Pinterest

Profile
 
 
Posted: 09 September 2012 05:48 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  7191
Joined  2003-10-09

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.

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile
 
 
Posted: 09 September 2012 07:53 AM   [ Ignore ]   [ # 2 ]
Active Member
Avatar
RankRank
Total Posts:  775
Joined  2009-10-27
Richard Haseltine - 09 September 2012 05:48 AM

That doesn’t happen for me in a modal dialogue

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

 Signature 

Blog
FB
YT
Pinterest

Profile