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 'space_view3d_copy_attributes.py')
-rw-r--r--space_view3d_copy_attributes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/space_view3d_copy_attributes.py b/space_view3d_copy_attributes.py
index d7e8569a..3551e108 100644
--- a/space_view3d_copy_attributes.py
+++ b/space_view3d_copy_attributes.py
@@ -700,7 +700,7 @@ class MESH_OT_CopyFaceSettings(bpy.types.Operator):
layers = mesh.uv_textures
act_layer = mesh.uv_textures.active
if not layers or (layername and not layername in layers):
- return _end({'CANCELLED'})
+ return _end({'CANCELLED'})
from_data = layers[layername or act_layer.name].data
to_data = act_layer.data
from_face = from_data[mesh.faces.active]