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-10-23 05:44:33 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-10-23 05:44:33 +0400
commit68b9fef91ce0dab7982c1b578ded821aa955a92b (patch)
treec5b0e91b89f77f3bf8e67cfc2dc0f42999607805 /io_anim_camera.py
parent3e35db6cb03c03fd6785cc1d162005ee2a57bfd6 (diff)
bugfix [#24338] All Expoter is not displayed.
Diffstat (limited to 'io_anim_camera.py')
-rw-r--r--io_anim_camera.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/io_anim_camera.py b/io_anim_camera.py
index 6c0c967b..333f437c 100644
--- a/io_anim_camera.py
+++ b/io_anim_camera.py
@@ -115,14 +115,16 @@ def writeCameras(context, filepath, frame_start, frame_end, only_selected=False)
from bpy.props import *
+from io_utils import ExportHelper
-class CameraExporter(bpy.types.Operator):
+class CameraExporter(bpy.types.Operator, ExportHelper):
'''Save a python script which re-creartes cameras and markers elsewhere'''
bl_idname = "export_animation.cameras"
bl_label = "Export Camera & Markers"
- filepath = StringProperty(name="File Path", description="File path used for importing the RAW file", maxlen=1024, default="")
+ filename_ext = ".py"
+ filter_glob = StringProperty(default="*.py", options={'HIDDEN'})
frame_start = IntProperty(name="Start Frame",
description="Start frame for export",