Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicki Myers <antihc3@gmail.com>2008-03-13 18:12:19 +0300
committerRicki Myers <antihc3@gmail.com>2008-03-13 18:12:19 +0300
commitb3dab572328e1989276f6f4ef2dd1b6b1f82e86e (patch)
treeb78e382aa878be17885e4c346b04f09d97376304 /source/blender/src/space.c
parent4d3c9e88eda123c9f66825534035cbe98b7251cd (diff)
Patch #8488: UserPref to switch between pan/paste on MMB in text editor.
Diffstat (limited to 'source/blender/src/space.c')
-rw-r--r--source/blender/src/space.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c
index 7f26eed43c0..bc798a1493e 100644
--- a/source/blender/src/space.c
+++ b/source/blender/src/space.c
@@ -3694,6 +3694,11 @@ void drawinfospace(ScrArea *sa, void *spacedata)
(xpos+edgsp+(3*mpref)+(4*midsp)),y3,mpref,buth,
&(U.flag), 0, 0, 0, 0,
"Emulates Middle Mouse with Alt+LeftMouse (doesnt work with Left Mouse Select option)");
+ uiDefButBitI(block, TOG, USER_MMB_PASTE, B_DRAWINFO, "Paste on MMB",
+ (xpos+edgsp+(3*mpref)+(4*midsp)),y2,mpref,buth,
+ &(U.uiflag), 0, 0, 0, 0,
+ "In text window, paste with MMB instead of panning");
+ uiBlockEndAlign(block);
uiBlockBeginAlign(block);
uiDefButBitI(block, TOG, USER_SHOW_ROTVIEWICON, B_DRAWINFO, "Mini Axis",