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:
-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