Merge pull request #8849 from zzmp/fix/shapekey-ref

fix invalid ShapeKey ref
This commit is contained in:
Brad Hefta-Gaub 2016-10-19 17:39:06 -07:00 committed by GitHub
commit 9cb0c973de

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()) {