mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-24 10:38:53 +00:00
Merge remote-tracking branch 'HarrievG/679-gltf-map-support2' into 679-gltf-map-support2
This commit is contained in:
commit
5f43800b02
1 changed files with 5 additions and 1 deletions
|
@ -1101,7 +1101,11 @@ void idRenderModelGLTF::LoadModel()
|
|||
int num;
|
||||
auto& accessors = data->AccessorList();
|
||||
auto& nodes = data->NodeList();
|
||||
gltfNode* meshRoot = data->GetNode( gltf_ModelSceneName.GetString(), meshName );
|
||||
gltfNode* meshRoot = root;
|
||||
if ( !fileExclusive )
|
||||
{
|
||||
meshRoot = data->GetNode( gltf_ModelSceneName.GetString(), meshName );
|
||||
}
|
||||
|
||||
gltfSkin* skin = nullptr;
|
||||
gltfAccessor* acc = nullptr;
|
||||
|
|
Loading…
Reference in a new issue