mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 22:07:03 +02:00
Fix -Wunused-variable for MeshPart ShapeKeys
This commit is contained in:
parent
0c31c072a3
commit
9e7e6be549
1 changed files with 1 additions and 4 deletions
|
@ -225,8 +225,6 @@ void MeshPartPayload::render(RenderArgs* args) const {
|
|||
|
||||
gpu::Batch& batch = *(args->_batch);
|
||||
|
||||
ShapeKey key = getShapeKey();
|
||||
|
||||
auto locations = args->_pipeline->locations;
|
||||
assert(locations);
|
||||
|
||||
|
@ -468,8 +466,7 @@ void ModelMeshPartPayload::render(RenderArgs* args) const {
|
|||
|
||||
gpu::Batch& batch = *(args->_batch);
|
||||
|
||||
ShapeKey key = getShapeKey();
|
||||
if (!key.isValid()) {
|
||||
if (!getShapeKey().isValid()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue