diff options
author | Ton Roosendaal <ton@blender.org> | 2004-08-03 01:36:44 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-08-03 01:36:44 +0400 |
commit | 6e7800e349589ab02be50d7963727b411bfb0e89 (patch) | |
tree | 025ec25fb0fbaafdfee9c728e1b62bbba8cad0ce | |
parent | 060db9e94a526898048cef8cd9df6d3b1ab250a3 (diff) |
Fix for 1488
IKEY in buttons window, Editing context, Camera; didn't give the menu.
Just moving an if statement down...
-rw-r--r-- | source/blender/src/editipo.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/src/editipo.c b/source/blender/src/editipo.c index d1619e8b215..3b6d8d2ac59 100644 --- a/source/blender/src/editipo.c +++ b/source/blender/src/editipo.c @@ -3744,7 +3744,10 @@ void common_insertkey() } } - else if(ob && ob->type==OB_CAMERA) { + } + else if(G.buts->mainb==CONTEXT_EDITING) { + ob= OBACT; + if(ob && ob->type==OB_CAMERA) { id= G.buts->lockpoin; if(id) { event= pupmenu("Insert Key %t|Lens%x0|Clipping%x1"); |