diff options
-rw-r--r-- | io_anim_bvh/import_bvh.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/io_anim_bvh/import_bvh.py b/io_anim_bvh/import_bvh.py index f83ef7f2..48407507 100644 --- a/io_anim_bvh/import_bvh.py +++ b/io_anim_bvh/import_bvh.py @@ -409,10 +409,10 @@ def bvh_node_dict2armature(context, bvh_node.temp.parent = bvh_node.parent.temp # Set the connection state - if not bvh_node.has_loc and\ - bvh_node.parent and\ - bvh_node.parent.temp.name not in ZERO_AREA_BONES and\ - bvh_node.parent.rest_tail_local == bvh_node.rest_head_local: + if((not bvh_node.has_loc) and + (bvh_node.parent.temp.name not in ZERO_AREA_BONES) and + (bvh_node.parent.rest_tail_local == bvh_node.rest_head_local)): + bvh_node.temp.use_connect = True # Replace the editbone with the editbone name, |