Skip to content

Commit

Permalink
Merge pull request #116 from OpenSAGE/autopep8-patches
Browse files Browse the repository at this point in the history
Fixes by autopep8 action
  • Loading branch information
Tarcontar authored Feb 19, 2020
2 parents 598e9e2 + abdc229 commit 0645c42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions io_mesh_w3d/w3x/io_xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ def parse_vector2(xml_vector2):
def format(value):
return '{:.6f}'.format(value)


def create_vector2(vec2, parent, name):
vector = create_node(parent, name)
vector.set('X', format(vec2.x))
Expand Down
2 changes: 1 addition & 1 deletion tests/w3d/cases/test_roundtrip.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def test_roundtrip_HAM_tc_animation(self):
self.assertTrue('Brakelight' in bpy.data.objects)

def test_roundtrip_no_armature(self):
hierarchy_name = 'TestModelName'
hierarchy_name = 'TestModelName'
hierarchy = get_hierarchy(hierarchy_name)
hierarchy.pivots = [get_roottransform(),
get_hierarchy_pivot(name='sword', parent=0),
Expand Down

0 comments on commit 0645c42

Please sign in to comment.