Fix -Wunused-variable for MeshPart ShapeKeys

This commit is contained in:
Zach Pomerantz 2016-02-04 10:06:07 -08:00
parent 0c31c072a3
commit 9e7e6be549

View file

@ -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;
}