diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2011-10-17 08:08:41 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2011-10-17 08:08:41 +0400 |
commit | 66a538f8fb0e4126850318fcfe09099d474bbcd6 (patch) | |
tree | 7753dd2c7b0fbe75a8d36a56b5b5d725285f5c45 /io_import_scene_unreal_psk.py | |
parent | ad5701fdc46bb97164cbf548c3e81cf732e00a6d (diff) |
fix for bug introduced on rev. 2114 which was supposed to be a cleanup commit!
seriously, please test things after "cleanup" commits.
Diffstat (limited to 'io_import_scene_unreal_psk.py')
-rw-r--r-- | io_import_scene_unreal_psk.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/io_import_scene_unreal_psk.py b/io_import_scene_unreal_psk.py index 70cc64ff..4d60dd46 100644 --- a/io_import_scene_unreal_psk.py +++ b/io_import_scene_unreal_psk.py @@ -20,8 +20,8 @@ bl_info = { "name": "Import Unreal Skeleton Mesh (.psk)", "author": "Darknet", "version": (2, 0), - "blender": (2, 5, 3), - "api": 36079, + "blender": (2, 5, 9), + "api": 41077, "location": "File > Import > Skeleton Mesh (.psk)", "description": "Import Skeleleton Mesh", "warning": "", @@ -368,7 +368,7 @@ def pskimport(infile,importmesh,importbone,bDebugLogPSK,importmultiuvtextures): obj = bpy.data.objects.get(meshname) # arm = obj # UNUSED - if obj: + if not obj: ''' armdata = bpy.data.armatures.new(objectname) ob_new = bpy.data.objects.new(meshname, armdata) |