pyassimp/quicktest now runs without installing pyassimp first.
parent
fc039ee0e2
commit
3721b19a61
|
@ -177,7 +177,7 @@ def _init(self, target = None, parent = None):
|
||||||
"and quads. Try to load your mesh with"
|
"and quads. Try to load your mesh with"
|
||||||
" a post-processing to triangulate your"
|
" a post-processing to triangulate your"
|
||||||
" faces.")
|
" faces.")
|
||||||
sys.exit(1)
|
raise e
|
||||||
|
|
||||||
|
|
||||||
else: # starts with 'm' but not iterable
|
else: # starts with 'm' but not iterable
|
||||||
|
|
|
@ -9,8 +9,12 @@ data structures in detail. It just verifies whether basic
|
||||||
loading and querying of 3d models using pyassimp works.
|
loading and querying of 3d models using pyassimp works.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
|
# Make the development (ie. GIT repo) version of PyAssimp available for import.
|
||||||
|
sys.path.insert(0, '..')
|
||||||
|
|
||||||
import sys,os
|
|
||||||
import sample
|
import sample
|
||||||
from pyassimp import errors
|
from pyassimp import errors
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue