[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [3304] Increased object name limits to 63 (the actual maxlen in 2.63)

Sebastian Nell codemanx at gmx.de
Wed Apr 25 00:34:13 CEST 2012


Revision: 3304
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=3304
Author:   codemanx
Date:     2012-04-24 22:34:13 +0000 (Tue, 24 Apr 2012)
Log Message:
-----------
Increased object name limits to 63 (the actual maxlen in 2.63)

Modified Paths:
--------------
    contrib/py/scripts/demo_fcurve_colouriser.py
    contrib/py/scripts/demo_fcurve_fixer.py
    trunk/py/scripts/addons/space_view3d_materials_utils.py

Modified: contrib/py/scripts/demo_fcurve_colouriser.py
===================================================================
--- contrib/py/scripts/demo_fcurve_colouriser.py	2012-04-24 15:50:41 UTC (rev 3303)
+++ contrib/py/scripts/demo_fcurve_colouriser.py	2012-04-24 22:34:13 UTC (rev 3304)
@@ -33,7 +33,7 @@
 	# List of operator properties, the attributes will be assigned
 	# to the class instance from the operator settings before calling.
 	__props__ = [
-		bpy.props.StringProperty(attr="action", name="Action", description="Name of Action containing the F-Curves to modify", maxlen= 20, default= "Action"),
+		bpy.props.StringProperty(attr="action", name="Action", description="Name of Action containing the F-Curves to modify", maxlen=63, default="Action"),
 		bpy.props.StringProperty(attr="prop_identifier", name="Property identifier", description="Identifier for property that F-Curve should affect (i.e. 'location', 'rotation', 'scale')", default= "rotation"),
 	]
 	

Modified: contrib/py/scripts/demo_fcurve_fixer.py
===================================================================
--- contrib/py/scripts/demo_fcurve_fixer.py	2012-04-24 15:50:41 UTC (rev 3303)
+++ contrib/py/scripts/demo_fcurve_fixer.py	2012-04-24 22:34:13 UTC (rev 3304)
@@ -30,7 +30,7 @@
 	bl_undo = True
 	
 	# List of operator properties.
-	action = StringProperty(name="Action", description="Name of Action containing the F-Curves to modify", maxlen= 20, default="Action")
+	action = StringProperty(name="Action", description="Name of Action containing the F-Curves to modify", maxlen=63, default="Action")
 	string_find = StringProperty(name="Search For", description="String in paths to replace", maxlen=256, default="pose.pose_channels")
 	string_replace = StringProperty(name="Replace With", description="String to replace 'Old Pattern' with in the paths", maxlen=256, default="pose.bones")
 	

Modified: trunk/py/scripts/addons/space_view3d_materials_utils.py
===================================================================
--- trunk/py/scripts/addons/space_view3d_materials_utils.py	2012-04-24 15:50:41 UTC (rev 3303)
+++ trunk/py/scripts/addons/space_view3d_materials_utils.py	2012-04-24 22:34:13 UTC (rev 3304)
@@ -515,7 +515,7 @@
             name='Material Name',
             description='Name of Material to Assign',
             default="",
-            maxlen=21,
+            maxlen=63,
             )
 
     @classmethod
@@ -570,7 +570,7 @@
     matname = StringProperty(
             name='Material Name',
             description='Name of Material to Select',
-            maxlen=21,
+            maxlen=63,
             )
 
     @classmethod
@@ -592,11 +592,11 @@
     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",



More information about the Bf-extensions-cvs mailing list