diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-25 15:57:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-25 15:57:31 +0400 |
commit | 5fb9b1eaccf00bc66fb32a1067fdbc087c40d316 (patch) | |
tree | 019fd09d3bb3461501c1c9a759fbead69f168db4 | |
parent | b847fba4910dadf0337ec7f35cf78aa8c1f5aa0b (diff) |
fix for error export with no armature
-rw-r--r-- | io_export_unreal_psk_psa.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_export_unreal_psk_psa.py b/io_export_unreal_psk_psa.py index b04ab260..121c5000 100644 --- a/io_export_unreal_psk_psa.py +++ b/io_export_unreal_psk_psa.py @@ -1685,7 +1685,7 @@ def fs_callback(filename, context): bmesh = False bArmatureScale = True bArmatureCenter = True - if blender_armature[0] is not None: + if blender_armature and blender_armature[0] is not None: if blender_armature[0].scale.x == 1 and blender_armature[0].scale.y == 1 and blender_armature[0].scale.z == 1: #print("Okay") bArmatureScale = True |