mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
Adding the missing MetaType on the overlay...
This commit is contained in:
parent
93f5e2db81
commit
60447bc521
2 changed files with 2 additions and 1 deletions
|
@ -803,5 +803,6 @@ render::ItemKey ModelOverlay::getKey() {
|
|||
if (!_isLODEnabled) {
|
||||
builder.withLODDisabled();
|
||||
}
|
||||
|
||||
return builder.build();
|
||||
}
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue