diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-23 14:43:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-23 14:43:38 +0300 |
commit | e0fc6d0c3360c1e5b61bdeefeb92cd3325780fab (patch) | |
tree | 7572b3143a9316a5e9639dbe3d2d758845454d18 /release/scripts/io/export_ply.py | |
parent | c6dbbde16bdcfc46eba0c5a6bcd02c8d40c5f964 (diff) |
more ui api changes.
- remove functions such as operator_int(), operator_enum(), operator_string
this mixed with keyword arguments in a way that made them hard to read.
Instead, have operator() always return properties rather then needing an argument.
- rename prop_pointer() --> prop_object(), pointer is more a C thing.
- missed item_enumR(), rename to prop_enum()
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 f057c027df9..50cb3134f83 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.operator_string(ExportPLY.bl_idname, "path", default_path, text="Stanford (.ply)...") + self.layout.operator(ExportPLY.bl_idname, text="Stanford (.ply)...").path = default_path menu_item = dynamic_menu.add(bpy.types.INFO_MT_file_export, menu_func) |