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-11-25 15:57:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-11-25 15:57:31 +0400
commit5fb9b1eaccf00bc66fb32a1067fdbc087c40d316 (patch)
tree019fd09d3bb3461501c1c9a759fbead69f168db4 /io_export_unreal_psk_psa.py
parentb847fba4910dadf0337ec7f35cf78aa8c1f5aa0b (diff)
fix for error export with no armature
Diffstat (limited to 'io_export_unreal_psk_psa.py')
-rw-r--r--io_export_unreal_psk_psa.py2
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