diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-04-11 21:10:57 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-04-11 21:10:57 +0400 |
commit | 43ce43502613a206a5f47d0647a38c757707438c (patch) | |
tree | b1d5268a72376e756a0956f6cd69d1af7bc883ae /source/blender/src/headerbuttons.c | |
parent | 384f7a7875239861de5c36f034271c1621b9de51 (diff) |
the input fields for data name had an inconsistant limit for input fields, making it hard to fix problems with library linking when a name changed.
some were 18, most 19, and others 21. made all 21 since this is the real limit.
Also new image name limit length of input field to 21 (was 255 but shortened to 21)
The one place this could be useful is if somebody names a metaball with a 21 char name, the copy will not use the motherball.
but this is not as bad as having to use the python console for fixing library linking problems.
Diffstat (limited to 'source/blender/src/headerbuttons.c')
-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 e185da56f5e..dd1a99d9f2b 100644 --- a/source/blender/src/headerbuttons.c +++ b/source/blender/src/headerbuttons.c @@ -328,7 +328,7 @@ int std_libbuttons(uiBlock *block, short xco, short yco, else if(yco) len= 140; // comes from button panel else len= 120; - but= uiDefBut(block, TEX, B_IDNAME, str1,xco, yco, (short)len, YIC, id->name+2, 0.0, 19.0, 0, 0, "Displays current Datablock name. Click to change."); + but= uiDefBut(block, TEX, B_IDNAME, str1,xco, yco, (short)len, YIC, id->name+2, 0.0, 21.0, 0, 0, "Displays current Datablock name. Click to change."); uiButSetFunc(but, test_idbutton_cb, id->name, NULL); uiClearButLock(); |