diff options
author | Ton Roosendaal <ton@blender.org> | 2004-04-10 19:13:28 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-04-10 19:13:28 +0400 |
commit | c8cadcd557839435162634d96b4380d0e65c8e40 (patch) | |
tree | 9e72fdc25c52d49568ca77ea3ddd0cf1993d3742 /source/blender/src/editseq.c | |
parent | 2a0bc1ee26b05e9d71c6080ab8674921e58eab89 (diff) |
Bug 729
When more than 30 scenes are in a scene, the sequencer "Add" option didnt
show a databrowse window.
This was a nasty one, because databrowse facilities are more-of tied to
having a header. The fix is that I added option to IDnames_to_pupstring()
to not limit the menu (by passing NULL for menu short pointer).
Also noticed a bug with pupmenu_col(), which did return on a val==0 event
(mouse release) which shouldn't be, this makes sequences of menus not
possible.
Diffstat (limited to 'source/blender/src/editseq.c')
-rw-r--r-- | source/blender/src/editseq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/editseq.c b/source/blender/src/editseq.c index 9efc120f065..0256217a1ef 100644 --- a/source/blender/src/editseq.c +++ b/source/blender/src/editseq.c @@ -1022,9 +1022,9 @@ void add_sequence(int type) break; case 101: /* new menu: */ - IDnames_to_pupstring(&str, NULL, NULL, &G.main->scene, (ID *)G.scene, &nr); - - event= pupmenu(str); + IDnames_to_pupstring(&str, NULL, NULL, &G.main->scene, (ID *)G.scene, NULL); + + event= pupmenu_col(str, 20); if(event> -1) { nr= 1; |