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>2009-10-31 16:31:23 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-10-31 16:31:23 +0300
commitea265fc69702566a846be3005d9fd814a10d7d54 (patch)
tree011f35edde76ca7519c6e4bfc9acb01c0d39774e /release/scripts/io/export_ply.py
parent85eb9d6a2f0a0d94f795fc5264670e85ad56992f (diff)
change blender python interface for classes not to ise __idname__ rather bl_idname since __somename__ is for pythons internal use.
replacements... "__idname__" -> "bl_idname" "__props__" -> "bl_props" "__label__" -> "bl_label" "__register__" -> "bl_register" "__undo__" -> "bl_undo" "__space_type__" -> "bl_space_type" "__default_closed__" -> "bl_default_closed" "__region_type__" -> "bl_region_type" "__context__" -> "bl_context" "__show_header__" -> "bl_show_header" "__URL__" -> "_url"
Diffstat (limited to 'release/scripts/io/export_ply.py')
-rw-r--r--release/scripts/io/export_ply.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/io/export_ply.py b/release/scripts/io/export_ply.py
index 953ed4dc89e..67cd6a85599 100644
--- a/release/scripts/io/export_ply.py
+++ b/release/scripts/io/export_ply.py
@@ -233,13 +233,13 @@ def write(filename, scene, ob, \
class EXPORT_OT_ply(bpy.types.Operator):
'''Export a single object as a stanford PLY with normals, colours and texture coordinates.'''
- __idname__ = "export.ply"
- __label__ = "Export PLY"
+ bl_idname = "export.ply"
+ bl_label = "Export PLY"
# List of operator properties, the attributes will be assigned
# to the class instance from the operator settings before calling.
- __props__ = [
+ bl_props = [
bpy.props.StringProperty(attr="path", name="File Path", description="File path used for exporting the PLY file", maxlen= 1024, default= ""),
bpy.props.BoolProperty(attr="use_modifiers", name="Apply Modifiers", description="Apply Modifiers to the exported mesh", default= True),
bpy.props.BoolProperty(attr="use_normals", name="Export Normals", description="Export Normals for smooth and hard shaded faces", default= True),