From 5a6ae4e9f5946a49997f8429b0293b912aa69be2 Mon Sep 17 00:00:00 2001
From: Sebastian Nell <codemanx@gmx.de>
Date: Tue, 24 Apr 2012 22:34:13 +0000
Subject: [PATCH] Increased object name limits to 63 (the actual maxlen in
 2.63)

[[Split portion of a mixed commit.]]
---
 space_view3d_materials_utils.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/space_view3d_materials_utils.py b/space_view3d_materials_utils.py
index 5baf7e5d3..3f49b30d2 100644
--- a/space_view3d_materials_utils.py
+++ b/space_view3d_materials_utils.py
@@ -515,7 +515,7 @@ class VIEW3D_OT_assign_material(bpy.types.Operator):
             name='Material Name',
             description='Name of Material to Assign',
             default="",
-            maxlen=21,
+            maxlen=63,
             )
 
     @classmethod
@@ -570,7 +570,7 @@ class VIEW3D_OT_select_material_by_name(bpy.types.Operator):
     matname = StringProperty(
             name='Material Name',
             description='Name of Material to Select',
-            maxlen=21,
+            maxlen=63,
             )
 
     @classmethod
@@ -592,11 +592,11 @@ class VIEW3D_OT_replace_material(bpy.types.Operator):
     matorg = StringProperty(
             name='Material to Replace',
             description="Name of Material to Assign",
-            maxlen=21,
+            maxlen=63,
             )
     matrep = StringProperty(name="Replacement material",
             description='Name of Material to Assign',
-            maxlen=21,
+            maxlen=63,
             )
     all_objects = BoolProperty(
             name="All objects",
-- 
GitLab