diff options
Diffstat (limited to 'io_import_scene_unreal_psk.py')
-rw-r--r-- | io_import_scene_unreal_psk.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io_import_scene_unreal_psk.py b/io_import_scene_unreal_psk.py index cbedb30e..50cb4bdd 100644 --- a/io_import_scene_unreal_psk.py +++ b/io_import_scene_unreal_psk.py @@ -360,8 +360,8 @@ def pskimport(infile): #ob_new.data = armdata bpy.context.scene.objects.link(ob_new) #bpy.ops.object.mode_set(mode='OBJECT') - for i in bpy.context.scene.objects: i.selected = False #deselect all objects - ob_new.selected = True + for i in bpy.context.scene.objects: i.select = False #deselect all objects + ob_new.select = True #set current armature to edit the bone bpy.context.scene.objects.active = ob_new #set mode to able to edit the bone |