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_import_images_as_planes.py
parentf15da84f3619b91098e60ab3ca369396cafd7196 (diff)
update for changes in blenders api.
Diffstat (limited to 'io_import_images_as_planes.py')
-rw-r--r--io_import_images_as_planes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py
index 0bdba5c8..555c9476 100644
--- a/io_import_images_as_planes.py
+++ b/io_import_images_as_planes.py
@@ -338,7 +338,7 @@ def main(filePath, options, mapping, dimension):
plane.data.uv_textures[0].data[0].transp = 'ALPHA'
plane.data.uv_textures[0].data[0].twoside = True
- plane.selected = True
+ plane.select = True
scene.objects.active = plane
# If "Create Single Plane" (filepath and is image)
@@ -367,7 +367,7 @@ def main(filePath, options, mapping, dimension):
plane.data.uv_textures[0].data[0].transp = 'ALPHA'
plane.data.uv_textures[0].data[0].twoside = True
- plane.selected = True
+ plane.select = True
scene.objects.active = plane