diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-23 15:06:26 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-23 15:06:26 +0400 |
commit | c659e68695bd91edb3840dda33881dec0012ee53 (patch) | |
tree | b029df6d471abdc995e9ec2d7870d2f3a14236c1 /io_export_unreal_psk_psa.py | |
parent | 1cc532990fa39bd33d7b1c8c4a2ff3f72617f51e (diff) |
update for changes in rna
Diffstat (limited to 'io_export_unreal_psk_psa.py')
-rw-r--r-- | io_export_unreal_psk_psa.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/io_export_unreal_psk_psa.py b/io_export_unreal_psk_psa.py index 1f12cc73..91bf74a9 100644 --- a/io_export_unreal_psk_psa.py +++ b/io_export_unreal_psk_psa.py @@ -735,10 +735,10 @@ def parse_meshes(blender_meshes, psk_file): if len(current_mesh.uv_textures) > 0: has_UV = True #print("face index: ",face_index) - #faceUV = current_mesh.active_uv_texture.data[face_index]#UVs for current face - #faceUV = current_mesh.active_uv_texture.data[0]#UVs for current face + #faceUV = current_mesh.uv_textures.active.data[face_index]#UVs for current face + #faceUV = current_mesh.uv_textures.active.data[0]#UVs for current face #print(face_index,"<[FACE NUMBER") - uv_layer = current_mesh.active_uv_texture + uv_layer = current_mesh.uv_textures.active faceUV = uv_layer.data[face_index] #print("============================") #size(data) is number of texture faces. Each face has UVs |