|
@@ -87,7 +87,7 @@ def process_dir(d, outfile, file_filter):
|
|
outf = os.path.join(os.getcwd(), settings.database_name,
|
|
outf = os.path.join(os.getcwd(), settings.database_name,
|
|
utils.hashing(fullp, pp))
|
|
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.write("assimp dump "+"-"*80+"\n")
|
|
outfile.flush()
|
|
outfile.flush()
|
|
if subprocess.call(cmd, stdout=outfile, stderr=outfile, shell=False):
|
|
if subprocess.call(cmd, stdout=outfile, stderr=outfile, shell=False):
|