[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24199] trunk/blender/release/scripts: left in unneeded attr keyword args last commit

Campbell Barton ideasman42 at gmail.com
Sat Oct 31 17:43:02 CET 2009


Revision: 24199
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24199
Author:   campbellbarton
Date:     2009-10-31 17:43:02 +0100 (Sat, 31 Oct 2009)

Log Message:
-----------
left in unneeded attr keyword args last commit

Modified Paths:
--------------
    trunk/blender/release/scripts/io/add_mesh_torus.py
    trunk/blender/release/scripts/io/export_3ds.py
    trunk/blender/release/scripts/io/export_ply.py
    trunk/blender/release/scripts/io/import_obj.py
    trunk/blender/release/scripts/templates/operator.py

Modified: trunk/blender/release/scripts/io/add_mesh_torus.py
===================================================================
--- trunk/blender/release/scripts/io/add_mesh_torus.py	2009-10-31 16:40:14 UTC (rev 24198)
+++ trunk/blender/release/scripts/io/add_mesh_torus.py	2009-10-31 16:43:02 UTC (rev 24199)
@@ -55,7 +55,7 @@
 	bl_register = True
 	bl_undo = True
 	
-	major_radius = FloatProperty(attr="", name="Major Radius", description="Number of segments for the main ring of the torus", default= 1.0, min= 0.01, max= 100.0)
+	major_radius = FloatProperty(name="Major Radius", description="Number of segments for the main ring of the torus", default= 1.0, min= 0.01, max= 100.0)
 	minor_radius = FloatProperty(name="Minor Radius", description="Number of segments for the minor ring of the torus", default= 0.25, min= 0.01, max= 100.0)
 	major_segments = IntProperty(name="Major Segments", description="Number of segments for the main ring of the torus", default= 48, min= 3, max= 256)
 	minor_segments = IntProperty(name="Minor Segments", description="Number of segments for the minor ring of the torus", default= 16, min= 3, max= 256)

Modified: trunk/blender/release/scripts/io/export_3ds.py
===================================================================
--- trunk/blender/release/scripts/io/export_3ds.py	2009-10-31 16:40:14 UTC (rev 24198)
+++ trunk/blender/release/scripts/io/export_3ds.py	2009-10-31 16:43:02 UTC (rev 24199)
@@ -1100,7 +1100,7 @@
 	# to the class instance from the operator settings before calling.
 
 	
-	# filename = bpy.props.StringProperty(attr="", name="File Name", description="File name used for exporting the 3DS file", maxlen= 1024, default= ""),
+	# filename = StringProperty(name="File Name", description="File name used for exporting the 3DS file", maxlen= 1024, default= ""),
 	path = StringProperty(name="File Path", description="File path used for exporting the 3DS file", maxlen= 1024, default= "")
 
 	

Modified: trunk/blender/release/scripts/io/export_ply.py
===================================================================
--- trunk/blender/release/scripts/io/export_ply.py	2009-10-31 16:40:14 UTC (rev 24198)
+++ trunk/blender/release/scripts/io/export_ply.py	2009-10-31 16:43:02 UTC (rev 24199)
@@ -243,11 +243,11 @@
 	# to the class instance from the operator settings before calling.
 	
 	
-	path = StringProperty(attr="", name="File Path", description="File path used for exporting the PLY file", maxlen= 1024, default= "")
-	use_modifiers = BoolProperty(attr="", name="Apply Modifiers", description="Apply Modifiers to the exported mesh", default= True)
-	use_normals = BoolProperty(attr="", name="Export Normals", description="Export Normals for smooth and hard shaded faces", default= True)
-	use_uvs = BoolProperty(attr="", name="Export UVs", description="Exort the active UV layer", default= True)
-	use_colors = BoolProperty(attr="", name="Export Vertex Colors", description="Exort the active vertex color layer", default= True)
+	path = StringProperty(name="File Path", description="File path used for exporting the PLY file", maxlen= 1024, default= "")
+	use_modifiers = BoolProperty(name="Apply Modifiers", description="Apply Modifiers to the exported mesh", default= True)
+	use_normals = BoolProperty(name="Export Normals", description="Export Normals for smooth and hard shaded faces", default= True)
+	use_uvs = BoolProperty(name="Export UVs", description="Exort the active UV layer", default= True)
+	use_colors = BoolProperty(name="Export Vertex Colors", description="Exort the active vertex color layer", default= True)
 	
 	
 	def poll(self, context):

Modified: trunk/blender/release/scripts/io/import_obj.py
===================================================================
--- trunk/blender/release/scripts/io/import_obj.py	2009-10-31 16:40:14 UTC (rev 24198)
+++ trunk/blender/release/scripts/io/import_obj.py	2009-10-31 16:43:02 UTC (rev 24199)
@@ -1564,7 +1564,7 @@
 	# to the class instance from the operator settings before calling.
 	
 	
-	path = StringProperty(attr="", name="File Path", description="File path used for importing the OBJ file", maxlen= 1024, default= "")
+	path = StringProperty(name="File Path", description="File path used for importing the OBJ file", maxlen= 1024, default= "")
 
 	CREATE_SMOOTH_GROUPS = BoolProperty(name="Smooth Groups", description="Surround smooth groups by sharp edges", default= True)
 	CREATE_FGONS = BoolProperty(name="NGons as FGons", description="Import faces with more then 4 verts as fgons", default= True)

Modified: trunk/blender/release/scripts/templates/operator.py
===================================================================
--- trunk/blender/release/scripts/templates/operator.py	2009-10-31 16:40:14 UTC (rev 24198)
+++ trunk/blender/release/scripts/templates/operator.py	2009-10-31 16:43:02 UTC (rev 24199)
@@ -14,7 +14,7 @@
 	# to the class instance from the operator settings before calling.
 	
 	# TODO, add better example props
-	path = StringProperty(attr="", name="File Path", description="File path used for exporting the PLY file", maxlen= 1024, default= "")
+	path = StringProperty(name="File Path", description="File path used for exporting the PLY file", maxlen= 1024, default= "")
 	use_some_setting = BoolProperty(name="Apply Modifiers", description="Apply Modifiers to the exported mesh", default= True)
 	
 	def poll(self, context):





More information about the Bf-blender-cvs mailing list