diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-23 03:51:50 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-23 03:51:50 +0400 |
commit | 1642e2888c296d71b2facd1a607f24a5992bb164 (patch) | |
tree | 79af894b21bfc5884295782612852b5d874e459d /release/scripts/startup/bl_operators/uvcalc_smart_project.py | |
parent | a164aa1ab6c23e068bb4c136609fc09a1347f990 (diff) |
rename Mesh.uv_loop_layers --> uv_layers
add filtering for document generator to support --partial bpy.types.SomeType
Diffstat (limited to 'release/scripts/startup/bl_operators/uvcalc_smart_project.py')
-rw-r--r-- | release/scripts/startup/bl_operators/uvcalc_smart_project.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_operators/uvcalc_smart_project.py b/release/scripts/startup/bl_operators/uvcalc_smart_project.py index bb3086f711b..1e18825a155 100644 --- a/release/scripts/startup/bl_operators/uvcalc_smart_project.py +++ b/release/scripts/startup/bl_operators/uvcalc_smart_project.py @@ -889,7 +889,7 @@ def main(context, if not me.uv_textures: # Mesh has no UV Coords, don't bother. me.uv_textures.new() - uv_layer = me.uv_loop_layers.active.data + uv_layer = me.uv_layers.active.data me_verts = list(me.vertices) if USER_ONLY_SELECTED_FACES: |