diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-23 03:27:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-23 03:27:30 +0300 |
commit | caab05ec8c98940064abbf80e67d3981fd3f2377 (patch) | |
tree | 8e1ffd80118ad24a63c997b3ef5436f1c7883e2f /release/scripts/io/export_ply.py | |
parent | 6555eca6fe7c6aefc5de8dbb663bc2be3799f567 (diff) |
rna UI api rename...
note: this aims to follow pep8 however I chose to use 'prop/props' rather then 'property/properties' because it would make function names too long.
itemR() --> prop()
items_enumR() --> props_enum()
item_menu_enumR() --> prop_menu_enum()
item_pointerR() --> prop_pointer()
itemO() --> operator()
item_enumO() --> operator_enum()
items_enumO() --> operator_enums()
item_menu_enumO() --> operator_menu_enum()
item_booleanO() --> operator_boolean()
item_intO() --> operator_int()
item_floatO() --> operator_float()
item_stringO() --> operator_string()
itemL() --> label()
itemM() --> menu()
itemS() --> separator()
batch script used http://www.pasteall.org/9345
Diffstat (limited to 'release/scripts/io/export_ply.py')
-rw-r--r-- | release/scripts/io/export_ply.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/io/export_ply.py b/release/scripts/io/export_ply.py index e97ca2155f0..f057c027df9 100644 --- a/release/scripts/io/export_ply.py +++ b/release/scripts/io/export_ply.py @@ -298,7 +298,7 @@ import dynamic_menu def menu_func(self, context): default_path = bpy.data.filename.replace(".blend", ".ply") - self.layout.item_stringO(ExportPLY.bl_idname, "path", default_path, text="Stanford (.ply)...") + self.layout.operator_string(ExportPLY.bl_idname, "path", default_path, text="Stanford (.ply)...") menu_item = dynamic_menu.add(bpy.types.INFO_MT_file_export, menu_func) |