Skip to content

Commit

Permalink
[#6] Removed unecessary "if" statement
Browse files Browse the repository at this point in the history
  • Loading branch information
travnick committed Jul 24, 2013
1 parent c79c716 commit 55c14b1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions io_export_cryblend/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,14 +564,12 @@ def vsp(self, objects, node1):
if ai:
if ai[1] == "fakebone":
fby = 1
break
if fby == 1: # object_.parent_bone:
pass
else:
if object_.type == 'ARMATURE':
cname = (object_.name)
else:
cname = (object_.name)
nodename = cname
cname = object_.name

nodename = self.__doc.createElement("node")
nodename.setAttribute("id", "%s" % (cname))
nodename.setIdAttribute('id')
Expand Down

0 comments on commit 55c14b1

Please sign in to comment.