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>2012-07-01 19:20:49 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-01 19:20:49 +0400
commit842985a49773634076d45f845957216006fc683e (patch)
treedb4827e8d35fd99e92649a841463226d1540f6b0
parent052ba428badc6fda8ded5fdc84de6f6984f1ab3d (diff)
fix for fracturing UV layers
-rw-r--r--object_fracture_voroni/fracture_cell_setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/object_fracture_voroni/fracture_cell_setup.py b/object_fracture_voroni/fracture_cell_setup.py
index 5d0ecf18..3f1e08fb 100644
--- a/object_fracture_voroni/fracture_cell_setup.py
+++ b/object_fracture_voroni/fracture_cell_setup.py
@@ -237,7 +237,7 @@ def cell_fracture_objects(scene, obj,
mesh_src = obj.data
for mat in mesh_src.materials:
mesh_dst.materials.append(mat)
- for lay_attr in ("vertex_colors", "uv_layers"):
+ for lay_attr in ("vertex_colors", "uv_textures"):
lay_src = getattr(mesh_src, lay_attr)
lay_dst = getattr(mesh_dst, lay_attr)
for key in lay_src.keys():