From f12a0a3b1c1321b2ea0e15e848d00d30980afce8 Mon Sep 17 00:00:00 2001 From: Oliver Nagy Date: Sat, 22 Nov 2014 16:24:32 +1100 Subject: [PATCH] Replaced 'xrange' by 'range' to maintain Python 3.x compatibility. --- port/PyAssimp/pyassimp/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/port/PyAssimp/pyassimp/core.py b/port/PyAssimp/pyassimp/core.py index e51e8f5a8..8a1e6249b 100644 --- a/port/PyAssimp/pyassimp/core.py +++ b/port/PyAssimp/pyassimp/core.py @@ -50,7 +50,7 @@ def make_tuple(ai_obj, type = None): # It is faster and more correct to have an init function for each assimp class def _init_face(aiFace): - aiFace.indices = [aiFace.mIndices[i] for i in xrange(aiFace.mNumIndices)] + aiFace.indices = [aiFace.mIndices[i] for i in range(aiFace.mNumIndices)] assimp_struct_inits = { structs.Face : _init_face }