mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-14 22:50:45 +00:00
- fix for file exclusive gltf models
This commit is contained in:
parent
457e0e143b
commit
1d354e995f
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