From d508bc0a4215e87a284585ff9cab7735bb1963b1 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Thu, 3 May 2007 06:55:34 +0000 Subject: 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). --- source/blender/src/headerbuttons.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') 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; } -- cgit v1.2.3