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 'io_export_unreal_psk_psa.py')
-rw-r--r--io_export_unreal_psk_psa.py6
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