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>2011-09-08 09:26:39 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-09-08 09:26:39 +0400
commitb25a7c909950ef9d8d0528150fc6f761b73ab6f0 (patch)
tree6c7050f915ba34b6926d607294e9e7c5ce255a43 /io_scene_fbx/export_fbx.py
parent48d15df82ab093e69c5f9845419822d0749e2d77 (diff)
pedantic pep8 edits
Diffstat (limited to 'io_scene_fbx/export_fbx.py')
-rw-r--r--io_scene_fbx/export_fbx.py9
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)