Fix resource lookup; re-export .dts and .dif with custom properties

This commit is contained in:
Brian Beck 2025-12-01 00:17:27 -08:00
parent 8147a1c418
commit 1182726bb4
1156 changed files with 126 additions and 114 deletions

View file

@ -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,

View file

@ -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,