diff options
author | Ton Roosendaal <ton@blender.org> | 2005-12-12 19:29:47 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-12-12 19:29:47 +0300 |
commit | 46c18b3e954deeada4162b14b647d9db19e80222 (patch) | |
tree | 25030922408112ad2e8c9261557e2ff538ab7f0c /source/blender/blenkernel/intern | |
parent | d2a3d5e79c42bd68ec887e557a04d5a4d7114508 (diff) |
NLA editor, adding actions wasn't possible when amount of actions was over
30, the databrowse option didnt work.
Made popup menu to go to 60 now, in 3 collums max. Databrowse works too
now.
Next commit; check all other databrowsers for it.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/library.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c index 28808bb900f..2dad108e320 100644 --- a/source/blender/blenkernel/intern/library.c +++ b/source/blender/blenkernel/intern/library.c @@ -1,11 +1,6 @@ - -/* library.c - * - * Contains management of ID's and libraries - * allocate and free of all library data - * +/** * $Id$ - * + * * ***** BEGIN GPL/BL DUAL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or @@ -34,6 +29,14 @@ * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ + +/* + * Contains management of ID's and libraries + * allocate and free of all library data + * + */ + + #include <stdio.h> #include <ctype.h> #include <string.h> @@ -101,7 +104,7 @@ #include "BKE_action.h" #include "BPI_script.h" -#define MAX_IDPUP 30 /* was 24 */ +#define MAX_IDPUP 60 /* was 24 */ #define MAX_LIBARRAY 100 /* was 30, warning: used it readfile.c too */ /* ************* general ************************ */ @@ -551,6 +554,7 @@ static void IDnames_to_dyn_pupstring(DynStr *pupds, ListBase *lb, ID *link, shor if (nr && nids>MAX_IDPUP) { BLI_dynstr_append(pupds, "DataBrowse %x-2"); + *nr= -2; } else { ID *id; |