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:
authorJoshua Leung <aligorith@gmail.com>2008-03-01 06:45:04 +0300
committerJoshua Leung <aligorith@gmail.com>2008-03-01 06:45:04 +0300
commit416f918fb8dd2400c1680a148cbe014d2c4f7211 (patch)
tree1f4b95e7b391737962f074e767dfe6963ef76076 /source/blender/src/space.c
parenta30b582300e1f27728124c3a4fa11754b1ba1b73 (diff)
Split the add_hook function into two parts (user interaction + actual operations)
Diffstat (limited to 'source/blender/src/space.c')
-rw-r--r--source/blender/src/space.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c
index 2436826c58a..0e0a52b6521 100644
--- a/source/blender/src/space.c
+++ b/source/blender/src/space.c
@@ -2009,7 +2009,7 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
if(G.obedit) {
if(G.obedit->type==OB_MESH) {
if(G.qual==LR_CTRLKEY)
- add_hook();
+ add_hook_menu();
else if(G.qual==LR_ALTKEY)
reveal_mesh();
else if((G.qual==LR_SHIFTKEY))
@@ -2019,7 +2019,7 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
}
else if(G.obedit->type== OB_SURF) {
if(G.qual==LR_CTRLKEY)
- add_hook();
+ add_hook_menu();
else if(G.qual==LR_ALTKEY)
revealNurb();
else if((G.qual==LR_SHIFTKEY))
@@ -2029,7 +2029,7 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
}
else if(G.obedit->type==OB_CURVE) {
if(G.qual==LR_CTRLKEY)
- add_hook();
+ add_hook_menu();
else if(G.qual==LR_ALTKEY)
revealNurb();
/* should be G.qual==LR_SHIFTKEY, but that is taken fro handles already */
@@ -2052,7 +2052,7 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
}
}
else if(G.obedit->type==OB_LATTICE) {
- if(G.qual==LR_CTRLKEY) add_hook();
+ if(G.qual==LR_CTRLKEY) add_hook_menu();
}
else if(G.obedit->type==OB_MBALL) {
if(G.qual==LR_ALTKEY)