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_lightmap.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_lightmap.py')
-rw-r--r-- | release/scripts/startup/bl_operators/uvcalc_lightmap.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_operators/uvcalc_lightmap.py b/release/scripts/startup/bl_operators/uvcalc_lightmap.py index 417ae89218c..3bd0d6fa4cc 100644 --- a/release/scripts/startup/bl_operators/uvcalc_lightmap.py +++ b/release/scripts/startup/bl_operators/uvcalc_lightmap.py @@ -88,7 +88,7 @@ class prettyface(object): self.children = [] else: # blender face - uv_layer = data.id_data.uv_loop_layers.active.data + uv_layer = data.id_data.uv_layers.active.data self.uv = [uv_layer[i].uv for i in data.loop_indices] # cos = [v.co for v in data] @@ -158,7 +158,7 @@ class prettyface(object): I = [i for a, i in angles_co] #~ fuv = f.uv - uv_layer = f.id_data.uv_loop_layers.active.data + uv_layer = f.id_data.uv_layers.active.data fuv = [uv_layer[i].uv for i in f.loops] # XXX25 if self.rot: |