Fixed pyassimp core.py

pull/13/head
Rodrigo Benenson 2012-11-29 19:07:56 +01:00
parent 24927ff4cc
commit c883967735
1 changed files with 1 additions and 3 deletions

View File

@ -293,11 +293,9 @@ def release(scene):
def _finalize_texture(tex, target):
setattr(target, "achformathint", tex.achFormatHint)
data = numpy.array([make_tuple(getattr(tex, pcData)[i]) for i in range(tex.mWidth * tex.mHeight)])
data = numpy.array([make_tuple(getattr(tex, "pcData")[i]) for i in range(tex.mWidth * tex.mHeight)])
setattr(target, "data", data)
def _finalize_mesh(mesh, target):
""" Building of meshes is a bit specific.