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>2011-02-07 11:16:01 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-07 11:16:01 +0300
commitfe45d789d860ee6d59f5b973d7832237d6d0d269 (patch)
treef54c389c6dab8ae52357ae274b6b8ae33a12695e /io_import_images_as_planes.py
parent3b1f9d0501d541ec6ebc7da28a4f39f30096663e (diff)
rename id.update() to update_tag()
Diffstat (limited to 'io_import_images_as_planes.py')
-rw-r--r--io_import_images_as_planes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py
index 3156d293..ff09085a 100644
--- a/io_import_images_as_planes.py
+++ b/io_import_images_as_planes.py
@@ -138,7 +138,7 @@ def create_image_plane(self, context, material):
mesh_data = bpy.data.meshes.new(img.name)
mesh_data.from_pydata(verts, [], faces)
- mesh_data.update()
+ mesh_data.update_tag()
add_object_data(context, mesh_data, operator=self)
plane = context.scene.objects.active
plane.data.uv_textures.new()