diff options
author | Daniel Dunbar <daniel@zuster.org> | 2003-03-24 04:46:05 +0300 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2003-03-24 04:46:05 +0300 |
commit | 1f3f52f5e4eb8b55a7ba1d7bc1d656b6a12f0df0 (patch) | |
tree | b57723c590e41321824bc4a7ce31260f1031b32e /source/blender/src/editipo.c | |
parent | a6a50cc27f9f961ac78ae63aea75a5931f3bd333 (diff) |
Update space dispatch:
- drawXXXspace, changeXXXspace, and winqreadXXXspace now receive the area
and spacedata as explicit arguments, allowing them to access private
data w/o going through globals.
- pass the new BWinEvent through to the winqreadXXXspace, allowing future
access to extended event data.
Removed direct calls to winqreadXXXspace to simulate user actions, replaced
by calls to action functions in edit.c or the appropriate handler.
Diffstat (limited to 'source/blender/src/editipo.c')
-rw-r--r-- | source/blender/src/editipo.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/src/editipo.c b/source/blender/src/editipo.c index d1b5585824a..9e14858b875 100644 --- a/source/blender/src/editipo.c +++ b/source/blender/src/editipo.c @@ -1478,6 +1478,16 @@ void set_editflag_editipo() scrarea_queue_winredraw(curarea); } +void ipo_toggle_showkey(void) { + if(G.sipo->showkey) { + G.sipo->showkey= 0; + swap_selectall_editipo(); /* sel all */ + } + else G.sipo->showkey= 1; + free_ipokey(&G.sipo->ipokey); + if(G.sipo->ipo) G.sipo->ipo->showkey= G.sipo->showkey; +} + void swap_selectall_editipo() { Object *ob; |