Fix [#20860] File/Open Recent Should Show Blend File, Not path
Max number of characters for ui elements was too low, raised this to allow very long buttons (eg. file paths)
This commit is contained in:
parent
6d1895e846
commit
a180314ac5
|
@ -94,7 +94,7 @@ typedef enum {
|
|||
|
||||
|
||||
#define UI_MAX_DRAW_STR 400
|
||||
#define UI_MAX_NAME_STR 64
|
||||
#define UI_MAX_NAME_STR 128
|
||||
#define UI_ARRAY 29
|
||||
|
||||
/* panel limits */
|
||||
|
|
|
@ -371,7 +371,7 @@ static void template_ID(bContext *C, uiLayout *layout, TemplateID *template, Str
|
|||
|
||||
/* text button with name */
|
||||
if(id) {
|
||||
char name[64];
|
||||
char name[UI_MAX_NAME_STR];
|
||||
|
||||
//text_idbutton(id, name);
|
||||
name[0]= '\0';
|
||||
|
|
Loading…
Reference in New Issue