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:
Diffstat (limited to 'io_mesh_raw/__init__.py')
-rw-r--r--io_mesh_raw/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_raw/__init__.py b/io_mesh_raw/__init__.py
index c7f25a1f..74b11176 100644
--- a/io_mesh_raw/__init__.py
+++ b/io_mesh_raw/__init__.py
@@ -39,7 +39,7 @@ def menu_import(self, context):
def menu_export(self, context):
from io_mesh_raw import export_raw
- default_path = bpy.data.filename.replace(".blend", ".raw")
+ default_path = bpy.data.filepath.replace(".blend", ".raw")
self.layout.operator(export_raw.RawExporter.bl_idname, text="Raw Faces (.raw)").path = default_path