mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-07-13 15:34:58 +00:00
Fix resource lookup; re-export .dts and .dif with custom properties
This commit is contained in:
parent
8147a1c418
commit
1182726bb4
1156 changed files with 126 additions and 114 deletions
|
|
@ -92,7 +92,10 @@ for i, in_path in enumerate(input_files, start=1):
|
|||
filepath=out_path,
|
||||
export_format=args.format, # GLB | GLTF_SEPARATE
|
||||
use_selection=False,
|
||||
export_apply=True,
|
||||
export_apply=False,
|
||||
# Export custom properties, which is where we store the original
|
||||
# resource path.
|
||||
export_extras=True,
|
||||
# Blender and T2 are Z-up, but these assets are destined for Three.js which
|
||||
# is Y-up. It's easiest to match the Y-up of our destination engine.
|
||||
export_yup=True,
|
||||
|
|
|
|||
|
|
@ -92,11 +92,14 @@ for i, in_path in enumerate(input_files, start=1):
|
|||
filepath=out_path,
|
||||
export_format=args.format, # GLB | GLTF_SEPARATE
|
||||
use_selection=False,
|
||||
export_apply=False,
|
||||
export_materials='EXPORT',
|
||||
export_normals=True,
|
||||
export_tangents=False,
|
||||
export_texcoords=True,
|
||||
export_apply=False,
|
||||
# Export custom properties, which is where we store the original
|
||||
# resource path.
|
||||
export_extras=True,
|
||||
# Blender and T2 are Z-up, but these assets are destined for Three.js which
|
||||
# is Y-up. It's easiest to match the Y-up of our destination engine.
|
||||
export_yup=True,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue