mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
Merge branch 'graphics' of https://github.com/highfidelity/hifi into hdr
This commit is contained in:
commit
0482a2a7f7
1 changed files with 3 additions and 0 deletions
|
@ -470,6 +470,9 @@ void ModelMeshPartPayload::render(RenderArgs* args) const {
|
|||
ModelRender::pickPrograms(batch, mode, translucentMesh, alphaThreshold, hasLightmap, hasTangents, hasSpecular, isSkinned, wireframe,
|
||||
args, locations);
|
||||
|
||||
if (!locations) { // the pipeline could not be found
|
||||
return;
|
||||
}
|
||||
|
||||
// Bind the model transform and the skinCLusterMatrices if needed
|
||||
bindTransform(batch, locations);
|
||||
|
|
Loading…
Reference in a new issue