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-02 22:01:30 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-06-02 22:01:30 +0400
commit40f78d28a9ab6680b82c84cdf986d652c4127785 (patch)
treeb4b41437ab2ee7f0d533dd5505a8ad33ec922615 /io_anim_camera.py
parent63cf0579e407d9d22b04f58d15875e634edbe573 (diff)
filename --> filepath (changed in trunk/svn)
Diffstat (limited to 'io_anim_camera.py')
-rw-r--r--io_anim_camera.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_anim_camera.py b/io_anim_camera.py
index 4987ec25..3656852e 100644
--- a/io_anim_camera.py
+++ b/io_anim_camera.py
@@ -145,7 +145,7 @@ class CameraExporter(bpy.types.Operator):
def menu_export(self, context):
- default_path = bpy.data.filename.replace(".blend", ".py")
+ default_path = bpy.data.filepath.replace(".blend", ".py")
self.layout.operator(CameraExporter.bl_idname, text="Cameras & Markers (.py)").path = default_path