Skip to content

Commit

Permalink
Changed structs.py to export the original names of the C structs, not…
Browse files Browse the repository at this point in the history
… uppercase.

Totally rewrote pyassimp, removing all pyassimp classes, instead using python's dynamic nature to expand the ctypes structures to include safe array access and python style tuple access.
Updated helper.py and sample.py.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@406 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
  • Loading branch information
sueastside committed Apr 25, 2009
1 parent 01f558b commit 55a3d84
Show file tree
Hide file tree
Showing 5 changed files with 291 additions and 552 deletions.
4 changes: 2 additions & 2 deletions port/PyAssimp/pyassimp/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ def search_library():
pass
else:
#Library found!
load.restype = POINTER(structs.SCENE)
load.restype = POINTER(structs.Scene)

candidates.append((library, load, release))
candidates.append((library, load, release, dll))

if not candidates:
#no library found
Expand Down
Loading

0 comments on commit 55a3d84

Please sign in to comment.