fix invalid ShapeKey ref

This commit is contained in:
Zach Pomerantz 2016-10-18 17:59:30 -07:00
parent 6ae6fc4057
commit cf82cc3f50

View file

@ -86,7 +86,7 @@ void render::renderStateSortShapes(const SceneContextPointer& sceneContext, cons
{
assert(item.getKey().isShape());
const auto& key = item.getShapeKey();
const auto key = item.getShapeKey();
if (key.isValid() && !key.hasOwnPipeline()) {
auto& bucket = sortedShapes[key];
if (bucket.empty()) {