diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-04-14 12:49:26 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-04-14 12:49:26 +0400 |
commit | eb4a266295c42cdd2f55b094eeed2478391edb4d (patch) | |
tree | e28982aa91d70e0d31d830cf4f517f6f164f0558 /io_scene_fbx/__init__.py | |
parent | 0c7f5634e314657619cbb7e01cb37c2eb54fbfc3 (diff) |
common option to export paths for FBX and OBJ
Diffstat (limited to 'io_scene_fbx/__init__.py')
-rw-r--r-- | io_scene_fbx/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/io_scene_fbx/__init__.py b/io_scene_fbx/__init__.py index 191f5824..54433a65 100644 --- a/io_scene_fbx/__init__.py +++ b/io_scene_fbx/__init__.py @@ -41,6 +41,7 @@ if "bpy" in locals(): import bpy from bpy.props import StringProperty, BoolProperty, FloatProperty, EnumProperty +import io_utils from io_utils import ExportHelper @@ -69,7 +70,6 @@ class ExportFBX(bpy.types.Operator, ExportHelper): EXP_MESH = BoolProperty(name="Meshes", description="Export mesh objects", default=True) EXP_MESH_APPLY_MOD = BoolProperty(name="Modifiers", description="Apply modifiers to mesh objects", default=True) # EXP_MESH_HQ_NORMALS = BoolProperty(name="HQ Normals", description="Generate high quality normals", default=True) - EXP_IMAGE_COPY = BoolProperty(name="Copy Image Files", description="Copy image files to the destination path", default=False) # armature animation ANIM_ENABLE = BoolProperty(name="Enable Animation", description="Export keyframe animation", default=True) ANIM_OPTIMIZE = BoolProperty(name="Optimize Keyframes", description="Remove double keyframes", default=True) @@ -87,6 +87,8 @@ class ExportFBX(bpy.types.Operator, ExportHelper): BATCH_OWN_DIR = BoolProperty(name="Own Dir", description="Create a dir for each exported file", default=True) use_metadata = BoolProperty(name="Use Metadata", default=True, options={'HIDDEN'}) + path_mode = io_utils.path_reference_mode + @property def check_extension(self): return self.batch_mode == 'OFF' |