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-11-23 14:43:38 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-11-23 14:43:38 +0300
commite0fc6d0c3360c1e5b61bdeefeb92cd3325780fab (patch)
tree7572b3143a9316a5e9639dbe3d2d758845454d18 /release/scripts/io/export_3ds.py
parentc6dbbde16bdcfc46eba0c5a6bcd02c8d40c5f964 (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_3ds.py')
-rw-r--r--release/scripts/io/export_3ds.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/io/export_3ds.py b/release/scripts/io/export_3ds.py
index 386870051ff..545a35d6651 100644
--- a/release/scripts/io/export_3ds.py
+++ b/release/scripts/io/export_3ds.py
@@ -1142,6 +1142,6 @@ import dynamic_menu
def menu_func(self, context):
default_path = bpy.data.filename.replace(".blend", ".3ds")
- self.layout.operator_string(Export3DS.bl_idname, "path", default_path, text="Autodesk 3DS...")
+ self.layout.operator(Export3DS.bl_idname, text="Autodesk 3DS...").path = default_path
menu_item = dynamic_menu.add(bpy.types.INFO_MT_file_export, menu_func)