remove filename and directory from python operators that dont need them
This commit is contained in:
@@ -1122,7 +1122,6 @@ class Export3DS(bpy.types.Operator):
|
||||
# to the class instance from the operator settings before calling.
|
||||
|
||||
|
||||
# filename = StringProperty(name="File Name", description="File name used for exporting the 3DS file", maxlen= 1024, default= ""),
|
||||
filepath = StringProperty(name="File Path", description="Filepath used for exporting the 3DS file", maxlen= 1024, default= "")
|
||||
check_existing = BoolProperty(name="Check Existing", description="Check and warn on overwriting existing files", default=True, options={'HIDDEN'})
|
||||
|
||||
|
||||
@@ -1013,8 +1013,6 @@ class IMPORT_OT_autodesk_3ds(bpy.types.Operator):
|
||||
# to the class instance from the operator settings before calling.
|
||||
|
||||
filepath = StringProperty(name="File Path", description="Filepath used for importing the 3DS file", maxlen= 1024, default= "")
|
||||
filename = StringProperty(name="File Name", description="Name of the file.")
|
||||
directory = StringProperty(name="Directory", description="Directory of the file.")
|
||||
|
||||
# size_constraint = FloatProperty(name="Size Constraint", description="Scale the model by 10 until it reacehs the size constraint. Zero Disables.", min=0.0, max=1000.0, soft_min=0.0, soft_max=1000.0, default=10.0),
|
||||
# search_images = BoolProperty(name="Image Search", description="Search subdirectories for any assosiated images (Warning, may be slow)", default=True),
|
||||
|
||||
@@ -230,8 +230,6 @@ class ANIM_OT_keying_set_export(bpy.types.Operator):
|
||||
bl_label = "Export Keying Set..."
|
||||
|
||||
filepath = bpy.props.StringProperty(name="File Path", description="Filepath to write file to.")
|
||||
filename = bpy.props.StringProperty(name="File Name", description="Name of the file.")
|
||||
directory = bpy.props.StringProperty(name="Directory", description="Directory of the file.")
|
||||
filter_folder = bpy.props.BoolProperty(name="Filter folders", description="", default=True, options={'HIDDEN'})
|
||||
filter_text = bpy.props.BoolProperty(name="Filter text", description="", default=True, options={'HIDDEN'})
|
||||
filter_python = bpy.props.BoolProperty(name="Filter python", description="", default=True, options={'HIDDEN'})
|
||||
|
||||
@@ -1039,8 +1039,6 @@ class WM_OT_addon_install(bpy.types.Operator):
|
||||
module = StringProperty(name="Module", description="Module name of the addon to disable")
|
||||
|
||||
filepath = StringProperty(name="File Path", description="File path to write file to")
|
||||
filename = StringProperty(name="File Name", description="Name of the file")
|
||||
directory = StringProperty(name="Directory", description="Directory of the file")
|
||||
filter_folder = BoolProperty(name="Filter folders", description="", default=True, options={'HIDDEN'})
|
||||
filter_python = BoolProperty(name="Filter python", description="", default=True, options={'HIDDEN'})
|
||||
|
||||
|
||||
@@ -509,8 +509,6 @@ class WM_OT_keyconfig_import(bpy.types.Operator):
|
||||
bl_label = "Import Key Configuration..."
|
||||
|
||||
filepath = StringProperty(name="File Path", description="Filepath to write file to")
|
||||
filename = StringProperty(name="File Name", description="Name of the file")
|
||||
directory = StringProperty(name="Directory", description="Directory of the file")
|
||||
filter_folder = BoolProperty(name="Filter folders", description="", default=True, options={'HIDDEN'})
|
||||
filter_text = BoolProperty(name="Filter text", description="", default=True, options={'HIDDEN'})
|
||||
filter_python = BoolProperty(name="Filter python", description="", default=True, options={'HIDDEN'})
|
||||
@@ -570,8 +568,6 @@ class WM_OT_keyconfig_export(bpy.types.Operator):
|
||||
bl_label = "Export Key Configuration..."
|
||||
|
||||
filepath = StringProperty(name="File Path", description="Filepath to write file to")
|
||||
filename = StringProperty(name="File Name", description="Name of the file")
|
||||
directory = StringProperty(name="Directory", description="Directory of the file")
|
||||
filter_folder = BoolProperty(name="Filter folders", description="", default=True, options={'HIDDEN'})
|
||||
filter_text = BoolProperty(name="Filter text", description="", default=True, options={'HIDDEN'})
|
||||
filter_python = BoolProperty(name="Filter python", description="", default=True, options={'HIDDEN'})
|
||||
|
||||
Reference in New Issue
Block a user