From 95f81072ca441fe1823ad13f9774ac0b5962979d Mon Sep 17 00:00:00 2001 From: Brendon Murphy Date: Mon, 26 Jul 2010 08:04:24 +0000 Subject: applied patch to repair scripts, thanks DustyDingo for reporting. --- io_mesh_raw/export_raw.py | 2 +- io_mesh_raw/import_raw.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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): -- cgit v1.2.3