Moderators: Ratow, SATtva, coordinators

ERROR: Export aborted: 'Mesh' object has no attribute 'tessface_uv_textures'sandstorm wrote:What to I need to do now? I have no UV Textures defined.

# hack for bmesh
# TODO remove this when obsolete
def get_uv_textures_old(mesh):
return mesh.uv_textures
def get_uv_textures_new(mesh):
return mesh.tessface_uv_textures# hack for bmesh
# TODO remove this when obsolete
def get_uv_textures_old(mesh):
return mesh.uv_textures
def get_uv_textures_new(mesh):
return mesh.uv_texturessandstorm wrote:Thanks! Instead of re-building an older version, I have changed geometry.py to get it at least to work. For all of you, here is what I did:
Search for the following text in geometry.py
- Code: Select all
# hack for bmesh
# TODO remove this when obsolete
def get_uv_textures_old(mesh):
return mesh.uv_textures
def get_uv_textures_new(mesh):
return mesh.tessface_uv_textures
and replace the last row with
- Code: Select all
# hack for bmesh
# TODO remove this when obsolete
def get_uv_textures_old(mesh):
return mesh.uv_textures
def get_uv_textures_new(mesh):
return mesh.uv_textures


Return to LuxBlend (Blender Exporter)
Users browsing this forum: No registered users and 2 guests