diff options
author | Brendon Murphy <meta.androcto1@gmail.com> | 2010-07-26 12:04:24 +0400 |
---|---|---|
committer | Brendon Murphy <meta.androcto1@gmail.com> | 2010-07-26 12:04:24 +0400 |
commit | 95f81072ca441fe1823ad13f9774ac0b5962979d (patch) | |
tree | daedec46d2ebcfd388b54b60eed0f4cb677dd5eb | |
parent | 88c41c57e2fa0922b107460197b324d8fa3f3a81 (diff) |
applied patch to repair scripts,
thanks DustyDingo for reporting.
-rw-r--r-- | io_mesh_raw/export_raw.py | 2 | ||||
-rw-r--r-- | io_mesh_raw/import_raw.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/io_mesh_raw/export_raw.py b/io_mesh_raw/export_raw.py index 59f83810..323f84f6 100644 --- a/io_mesh_raw/export_raw.py +++ b/io_mesh_raw/export_raw.py @@ -68,7 +68,7 @@ def export_raw(filepath, applyMods, triangulate): matrix = obj.matrix_world if (applyMods): - me = obj.create_mesh(True, "PREVIEW") + me = obj.create_mesh(bpy.context.scene, True, "PREVIEW") else: me = obj.data diff --git a/io_mesh_raw/import_raw.py b/io_mesh_raw/import_raw.py index df04df9b..2eea174d 100644 --- a/io_mesh_raw/import_raw.py +++ b/io_mesh_raw/import_raw.py @@ -120,6 +120,7 @@ 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.") def execute(self, context): |