diff options
author | Joshua Leung <aligorith@gmail.com> | 2007-05-03 10:55:34 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2007-05-03 10:55:34 +0400 |
commit | d508bc0a4215e87a284585ff9cab7735bb1963b1 (patch) | |
tree | c92b2458807aa44c3d5ad6bce61103a39ac0679b | |
parent | 98d797f15637fcc02a9eb6041ed95a75e1b7796a (diff) |
Bugfix #6624:
When the databrowser was used for displaying available IPO-blocks, when called from the IPO-editor header, only Object IPO blocks were shown. This bug has apparently been around for quite a few releases, probably due to few people using
this feature (it only occurs on files with > 60 IPO-blocks of one type, and only
when you try to reassign ipo-blocks too).
-rw-r--r-- | source/blender/src/headerbuttons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/headerbuttons.c b/source/blender/src/headerbuttons.c index d274cc83fb3..f079294c81a 100644 --- a/source/blender/src/headerbuttons.c +++ b/source/blender/src/headerbuttons.c @@ -990,7 +990,7 @@ void do_global_buttons(unsigned short event) if(from==NULL) return; if(G.sipo->menunr== -2) { - activate_databrowse((ID *)G.sipo->ipo, ID_IP, GS(from->name), B_IPOBROWSE, &G.sipo->menunr, do_global_buttons); + activate_databrowse((ID *)G.sipo->ipo, ID_IP, G.sipo->blocktype, B_IPOBROWSE, &G.sipo->menunr, do_global_buttons); return; } |