diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-09-04 11:26:25 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-09-04 11:26:25 +0400 |
commit | ee740fc601ec8972b798a6b03932324c96182b7c (patch) | |
tree | 51aac268d90e16080bfe7fdc47a660a0bf031c82 /source/blender/src | |
parent | 3326d493a0d9b2b22bfb5c5446fed232bab9d28f (diff) |
Made ~ view all IPO's (similar to view all layers in the 3d view)
Diffstat (limited to 'source/blender/src')
-rw-r--r-- | source/blender/src/header_ipo.c | 9 | ||||
-rw-r--r-- | source/blender/src/space.c | 7 |
2 files changed, 15 insertions, 1 deletions
diff --git a/source/blender/src/header_ipo.c b/source/blender/src/header_ipo.c index a0b31fec3f2..44812b074b3 100644 --- a/source/blender/src/header_ipo.c +++ b/source/blender/src/header_ipo.c @@ -1155,7 +1155,14 @@ void do_ipo_buttons(short event) } } break; - } + case B_IPOVIEWALL: + /* set visible active */ + for(a=0, ei=G.sipo->editipo; a<G.sipo->totipo; a++, ei++) { + if (ei->icu) ei->flag |= IPO_VISIBLE; + else ei->flag &= ~IPO_VISIBLE; + } + break; + } } void ipo_buttons(void) diff --git a/source/blender/src/space.c b/source/blender/src/space.c index 0ec3538abc1..1798e522f85 100644 --- a/source/blender/src/space.c +++ b/source/blender/src/space.c @@ -2882,6 +2882,13 @@ static void winqreadipospace(ScrArea *sa, void *spacedata, BWinEvent *evt) allqueue(REDRAWSOUND, 0); } break; + case ACCENTGRAVEKEY: + if((G.qual==0)) { + do_ipo_buttons(B_IPOVIEWALL); + allqueue(REDRAWIPO, 0); + } + break; + } } |