Adding the missing MetaType on the overlay...

This commit is contained in:
Sam Gateau 2018-10-22 22:27:16 -07:00
parent 93f5e2db81
commit 60447bc521
2 changed files with 2 additions and 1 deletions

View file

@ -803,5 +803,6 @@ render::ItemKey ModelOverlay::getKey() {
if (!_isLODEnabled) {
builder.withLODDisabled();
}
return builder.build();
}

View file

@ -247,7 +247,7 @@ void Overlay::removeMaterial(graphics::MaterialPointer material, const std::stri
}
render::ItemKey Overlay::getKey() {
auto builder = render::ItemKey::Builder().withTypeShape();
auto builder = render::ItemKey::Builder().withTypeShape().withTypeMeta();
builder.withViewSpace();
builder.withLayer(render::hifi::LAYER_2D);