# regression test suite: fix critical bug that would cause all postprocessing flag except th first to be ignored.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@961 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
2ecbf3f244
commit
5a2d2d08e2
|
@ -87,7 +87,7 @@ def process_dir(d, outfile, file_filter):
|
|||
outf = os.path.join(os.getcwd(), settings.database_name,
|
||||
utils.hashing(fullp, pp))
|
||||
|
||||
cmd = [utils.assimp_bin_path,"dump",fullp,outf,"-b","-s","-l",pp]
|
||||
cmd = [utils.assimp_bin_path,"dump",fullp,outf,"-b","-s","-l"] + pp.split()
|
||||
outfile.write("assimp dump "+"-"*80+"\n")
|
||||
outfile.flush()
|
||||
if subprocess.call(cmd, stdout=outfile, stderr=outfile, shell=False):
|
||||
|
|
|
@ -179,7 +179,7 @@ def process_dir(d, outfile_results, zipin, result):
|
|||
outfile_results.write("assimp dump "+"-"*80+"\n")
|
||||
outfile_results.flush()
|
||||
|
||||
command = [utils.assimp_bin_path,"dump",fullpath,outfile_actual,"-b","-s","-l",pppreset]
|
||||
command = [utils.assimp_bin_path,"dump",fullpath,outfile_actual,"-b","-s","-l"]+pppreset.split()
|
||||
r = subprocess.call(command, **shellparams)
|
||||
|
||||
if r and not failure:
|
||||
|
|
|
@ -60,7 +60,7 @@ exclude_extensions = [".lws",".assbin",".assxml",".txt",".jpeg",".jpg",".png",".
|
|||
# The defaults are (validate-data-structure is always enabled, for
|
||||
# self-explanatory reasons :-):
|
||||
#
|
||||
# '-cfull' :apply all post processing except 'og' (optimize-scenegraph)
|
||||
# '-cfull' :apply all post processing except 'og' and 'ptv' (optimize-scenegraph)
|
||||
# '-og -om' :run optimize-scenegraph in combination with optimize-meshes.
|
||||
# '-vds -jiv' :join-identical-vertices alone. This is a hotspot where
|
||||
# floating-point inaccuracies can cause severe damage.
|
||||
|
|
Loading…
Reference in New Issue