mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-02-13 19:53:52 +00:00
add new Blender addon options to dif2gltf
This commit is contained in:
parent
6b23aefab6
commit
9c7f5f4cb5
1158 changed files with 5 additions and 1 deletions
|
|
@ -79,7 +79,11 @@ for i, in_path in enumerate(input_files, start=1):
|
|||
# Import
|
||||
print(f"[dif2gltf] [{i}/{total}] Converting: {in_path}")
|
||||
try:
|
||||
res = op_call(filepath=in_path)
|
||||
res = op_call(
|
||||
filepath=in_path,
|
||||
import_highest_lod_only=True,
|
||||
import_lightmaps=True
|
||||
)
|
||||
if "FINISHED" not in res:
|
||||
raise RuntimeError(f"Import failed via {op_id}")
|
||||
except Exception:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue