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:
Diffstat (limited to 'io_mesh_raw/import_raw.py')
-rw-r--r--io_mesh_raw/import_raw.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_mesh_raw/import_raw.py b/io_mesh_raw/import_raw.py
index a541b2ef..df04df9b 100644
--- a/io_mesh_raw/import_raw.py
+++ b/io_mesh_raw/import_raw.py
@@ -101,12 +101,12 @@ def addMeshObj(mesh, objName):
scn = bpy.context.scene
for o in scn.objects:
- o.selected = False
+ o.select = False
mesh.update()
nobj = bpy.data.objects.new(objName, mesh)
scn.objects.link(nobj)
- nobj.selected = True
+ nobj.select = True
if scn.objects.active == None or scn.objects.active.mode == 'OBJECT':
scn.objects.active = nobj