Fixed pyassimp core.py
parent
24927ff4cc
commit
c883967735
|
@ -293,11 +293,9 @@ def release(scene):
|
||||||
|
|
||||||
def _finalize_texture(tex, target):
|
def _finalize_texture(tex, target):
|
||||||
setattr(target, "achformathint", tex.achFormatHint)
|
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)
|
setattr(target, "data", data)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def _finalize_mesh(mesh, target):
|
def _finalize_mesh(mesh, target):
|
||||||
""" Building of meshes is a bit specific.
|
""" Building of meshes is a bit specific.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue