Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-06-27 02:33:13 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-06-27 02:33:13 +0400
commit69a384d3ed2608ae6cf064dd33c9293908b955e6 (patch)
tree4a986acbb69de36bd6517634e986fa8fa7217b4b
parentd35dee7d0ce5719d26c2db1fa2b46b007a58cf60 (diff)
remove filename and directory from ops that dont need them
-rw-r--r--export_unreal_psk_psa.py2
-rw-r--r--io_anim_camera.py2
-rw-r--r--io_mesh_raw/export_raw.py2
-rw-r--r--io_mesh_raw/import_raw.py2
-rw-r--r--io_mesh_stl/__init__.py10
5 files changed, 1 insertions, 17 deletions
diff --git a/export_unreal_psk_psa.py b/export_unreal_psk_psa.py
index 34bcc9cd..df66d344 100644
--- a/export_unreal_psk_psa.py
+++ b/export_unreal_psk_psa.py
@@ -1468,8 +1468,6 @@ class ExportUDKAnimData(bpy.types.Operator):
filepath = StringProperty(name="File Path", description="Filepath used for exporting the PSA file", maxlen= 1024, default= "")
use_setting = BoolProperty(name="No Options Yet", description="No Options Yet", default= True)
- filename = StringProperty(name="filename", description="", maxlen= 1024, default= "")
- directory = StringProperty(name="directory", description="", maxlen= 1024, default= "")
pskexportbool = BoolProperty(name="Export PSK", description="Export Skeletal Mesh", default= True)
psaexportbool = BoolProperty(name="Export PSA", description="Export Action Set (Animation Data)", default= True)
actionexportall = BoolProperty(name="All Actions", description="This will export all the actions that matches the current armature.", default=False)
diff --git a/io_anim_camera.py b/io_anim_camera.py
index 07eeeb97..6e186b25 100644
--- a/io_anim_camera.py
+++ b/io_anim_camera.py
@@ -119,8 +119,6 @@ class CameraExporter(bpy.types.Operator):
bl_label = "Export Camera & Markers"
filepath = StringProperty(name="File Path", description="File path used for importing the RAW file", maxlen=1024, default="")
- filename = StringProperty(name="File Name", description="Name of the file.")
- directory = StringProperty(name="Directory", description="Directory of the file.")
frame_start = IntProperty(name="Start Frame",
description="Start frame for export",
diff --git a/io_mesh_raw/export_raw.py b/io_mesh_raw/export_raw.py
index f0217144..e2fd918b 100644
--- a/io_mesh_raw/export_raw.py
+++ b/io_mesh_raw/export_raw.py
@@ -95,8 +95,6 @@ class RawExporter(bpy.types.Operator):
bl_label = "Export RAW"
filepath = StringProperty(name="File Path", description="Filepath used for exporting the RAW file", maxlen= 1024, default= "")
- filename = StringProperty(name="File Name", description="Name of the file.")
- directory = StringProperty(name="Directory", description="Directory of the file.")
check_existing = BoolProperty(name="Check Existing", description="Check and warn on overwriting existing files", default=True, options={'HIDDEN'})
apply_modifiers = BoolProperty(name="Apply Modifiers", description="Use transformed mesh data from each object", default=True)
diff --git a/io_mesh_raw/import_raw.py b/io_mesh_raw/import_raw.py
index 96b0c653..a541b2ef 100644
--- a/io_mesh_raw/import_raw.py
+++ b/io_mesh_raw/import_raw.py
@@ -120,8 +120,6 @@ class RawImporter(bpy.types.Operator):
bl_label = "Import RAW"
filepath = StringProperty(name="File Path", description="Filepath used for importing the RAW file", maxlen=1024, default="")
- filename = StringProperty(name="File Name", description="Name of the file.")
- directory = StringProperty(name="Directory", description="Directory of the file.")
def execute(self, context):
diff --git a/io_mesh_stl/__init__.py b/io_mesh_stl/__init__.py
index b80a971e..e5cc22d5 100644
--- a/io_mesh_stl/__init__.py
+++ b/io_mesh_stl/__init__.py
@@ -62,13 +62,9 @@ class StlImporter(bpy.types.Operator):
"the STL file",
maxlen=1024,
default="")
- filename = StringProperty(name="File Name",
- description="Name of the file.")
- directory = StringProperty(name="Directory",
- description="Directory of the file.")
def execute(self, context):
- objName = bpy.utils.display_name(self.properties.filename)
+ objName = bpy.utils.display_name(self.properties.filepath.split("\\")[-1].split("/")[-1])
tris, pts = stl_utils.read_stl(self.properties.filepath)
blender_utils.create_and_link_mesh(objName, tris, pts)
@@ -94,10 +90,6 @@ class StlExporter(bpy.types.Operator):
"the active object to STL file",
maxlen=1024,
default="")
- filename = StringProperty(name="File Name",
- description="Name of the file.")
- directory = StringProperty(name="Directory",
- description="Directory of the file.")
check_existing = BoolProperty(name="Check Existing",
description="Check and warn on "
"overwriting existing files",