Page Menu
Home
Search
Configure Global Search
Log In
Files
F10981
CopyPaste_Fix.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Alexander Kuznetsov (alexk)
Nov 13 2013, 2:19 PM
Size
900 B
Subscribers
None
CopyPaste_Fix.patch
View Options
Index: source/blender/editors/interface/interface_handlers.c
===================================================================
--- source/blender/editors/interface/interface_handlers.c (revision 32569)
+++ source/blender/editors/interface/interface_handlers.c (working copy)
@@ -4281,7 +4281,7 @@
if(but->flag & UI_BUT_DISABLED)
return WM_UI_HANDLER_CONTINUE;
- if(data->state == BUTTON_STATE_HIGHLIGHT && event->prevval != KM_PRESS) { /* check prevval because of modal operators [#24016] */
+ if(data->state == BUTTON_STATE_HIGHLIGHT && (event->prevval != KM_PRESS || (event->prevtype>=LEFTCTRLKEY && event->prevtype<=LEFTSHIFTKEY))) { /* check prevval because of modal operators [#24016] */
/* handle copy-paste */
if(ELEM(event->type, CKEY, VKEY) && event->val==KM_PRESS && (event->ctrl || event->oskey)) {
ui_but_copy_paste(C, but, data, (event->type == CKEY)? 'c': 'v');
File Metadata
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
fa/18/9004b8fb02ebec40d8b75dc3c2e2
Event Timeline
Log In to Comment