diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-09-08 09:26:39 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-09-08 09:26:39 +0400 |
commit | b25a7c909950ef9d8d0528150fc6f761b73ab6f0 (patch) | |
tree | 6c7050f915ba34b6926d607294e9e7c5ce255a43 /io_scene_fbx | |
parent | 48d15df82ab093e69c5f9845419822d0749e2d77 (diff) |
pedantic pep8 edits
Diffstat (limited to 'io_scene_fbx')
-rw-r--r-- | io_scene_fbx/export_fbx.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/io_scene_fbx/export_fbx.py b/io_scene_fbx/export_fbx.py index 90555e10..df8522f5 100644 --- a/io_scene_fbx/export_fbx.py +++ b/io_scene_fbx/export_fbx.py @@ -461,11 +461,11 @@ def save_single(operator, scene, filepath="", loc = tuple(loc) rot = tuple(rot.to_euler()) # quat -> euler scale = tuple(scale) - + # Essential for XNA to use the original matrix not rotated nor scaled (JCB) if use_rotate_workaround: matrix = ob.matrix_local - + else: # This is bad because we need the parent relative matrix from the fbx parent (if we have one), dont use anymore #if ob and not matrix: matrix = ob.matrix_world * global_matrix @@ -1042,7 +1042,7 @@ def save_single(operator, scene, filepath="", poseMatrix = write_object_props()[3] pose_items.append((fbxName, poseMatrix)) - + fw('\n\t\t}' '\n\t\tMultiLayer: 0' '\n\t\tMultiTake: 1' @@ -2080,7 +2080,7 @@ def save_single(operator, scene, filepath="", del tmp_obmapping # Finished finding groups we use - + # == WRITE OBJECTS TO THE FILE == # == From now on we are building the FBX file from the information collected above (JCB) @@ -2446,7 +2446,6 @@ Connections: {''') for fbxGroupName in ob_base.fbxGroupNames: fw('\n\tConnect: "OO", "Model::%s", "GroupSelection::%s"' % (ob_base.fbxName, fbxGroupName)) - # I think the following always duplicates the armature connection because it is also in ob_all_typegroups above! (JCB) # for my_arm in ob_arms: # fw('\n\tConnect: "OO", "Model::%s", "Model::Scene"' % my_arm.fbxName) |