mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 23:08:05 -05:00
chore: add names to exported gltf models
This commit is contained in:
@ -394,6 +394,7 @@ namespace
|
||||
DistinctMapper<Material*> materialMapper(model->numsurfs);
|
||||
AllocateXModelBoneWeights(modelSurfs, out.m_bone_weight_data);
|
||||
|
||||
out.m_name = modelSurfs->name;
|
||||
AddXModelBones(out, context, model);
|
||||
AddXModelMaterials(out, materialMapper, model);
|
||||
AddXModelObjects(out, modelSurfs, materialMapper, model->lodInfo[lod].surfIndex);
|
||||
|
Reference in New Issue
Block a user