Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-04-11 21:10:57 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-04-11 21:10:57 +0400
commit43ce43502613a206a5f47d0647a38c757707438c (patch)
treeb1d5268a72376e756a0956f6cd69d1af7bc883ae /source/blender/src/buttons_object.c
parent384f7a7875239861de5c36f034271c1621b9de51 (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/buttons_object.c')
-rw-r--r--source/blender/src/buttons_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/buttons_object.c b/source/blender/src/buttons_object.c
index 411422bef9a..7b675162141 100644
--- a/source/blender/src/buttons_object.c
+++ b/source/blender/src/buttons_object.c
@@ -1971,7 +1971,7 @@ static void object_panel_object(Object *ob)
xco= 160;
uiBlockBeginAlign(block);
- but = uiDefBut(block, TEX, B_IDNAME, "GR:", 10, 120-yco, 150, 20, group->id.name+2, 0.0, 19.0, 0, 0, "Displays Group name. Click to change.");
+ but = uiDefBut(block, TEX, B_IDNAME, "GR:", 10, 120-yco, 150, 20, group->id.name+2, 0.0, 21.0, 0, 0, "Displays Group name. Click to change.");
uiButSetFunc(but, test_idbutton_cb, group->id.name, NULL);
if(group->id.lib) {