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>2010-07-15 20:56:27 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-07-15 20:56:27 +0400
commit29f96aa28788a4fc8864c2518e972c5c7d1b5dcc (patch)
tree75795a36193853317448262e8817e2461a6660ad /io_mesh_raw
parentf15da84f3619b91098e60ab3ca369396cafd7196 (diff)
update for changes in blenders api.
Diffstat (limited to 'io_mesh_raw')
-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