diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-15 02:52:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-15 02:52:13 +0300 |
commit | bbeb2132fc8a10a7b697ce30c72f4bbab5da25e0 (patch) | |
tree | 40469caafde843a087ff1d87a6e214288538265d /io_scene_fbx | |
parent | 374c7c2a7ba029236c9cceb63218453579ba70d8 (diff) |
pep8 cleanup
Diffstat (limited to 'io_scene_fbx')
-rw-r--r-- | io_scene_fbx/export_fbx.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/io_scene_fbx/export_fbx.py b/io_scene_fbx/export_fbx.py index c6c91869..10bfe536 100644 --- a/io_scene_fbx/export_fbx.py +++ b/io_scene_fbx/export_fbx.py @@ -1829,7 +1829,7 @@ def save_single(operator, scene, filepath="", tmp_ob_type = ob_type = None # incase no objects are exported, so as not to raise an error -## XXX +## XXX if EXP_ARMATURE: # This is needed so applying modifiers dosnt apply the armature deformation, its also needed @@ -2820,7 +2820,7 @@ Takes: {''') return {'FINISHED'} -def save(operator, context, +def save(operator, context, filepath="", use_selection=True, batch_mode='OFF', @@ -2837,7 +2837,7 @@ def save(operator, context, kwargs_mod["context_objects"] = context.selected_objects else: kwargs_mod["context_objects"] = scene.objects - + return save_single(operator, context.scene, filepath, **kwargs_mod) else: fbxpath = filepath @@ -2879,7 +2879,7 @@ def save(operator, context, # group, so objects update properly, add a dummy scene. scene = bpy.data.scenes.new(name="FBX_Temp") scene.layers = [True] * 20 - # bpy.data.scenes.active = scene # XXX, cant switch + # bpy.data.scenes.active = scene # XXX, cant switch for ob_base in data.objects: scene.objects.link(ob_base) |