mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-29 10:30:19 +02:00
Merge pull request #13595 from NissimHadar/bug16595
Fix for "PAL orbs are no longer visible through tablet/toolbar and objects in world"
This commit is contained in:
commit
6e3bede7d0
1 changed files with 12 additions and 12 deletions
|
@ -51,7 +51,6 @@ void DrawOverlay3D::run(const RenderContextPointer& renderContext, const Inputs&
|
||||||
config->setNumDrawn((int)inItems.size());
|
config->setNumDrawn((int)inItems.size());
|
||||||
emit config->numDrawnChanged();
|
emit config->numDrawnChanged();
|
||||||
|
|
||||||
if (!inItems.empty()) {
|
|
||||||
RenderArgs* args = renderContext->args;
|
RenderArgs* args = renderContext->args;
|
||||||
|
|
||||||
// Clear the framebuffer without stereo
|
// Clear the framebuffer without stereo
|
||||||
|
@ -64,6 +63,7 @@ void DrawOverlay3D::run(const RenderContextPointer& renderContext, const Inputs&
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!inItems.empty()) {
|
||||||
// Render the items
|
// Render the items
|
||||||
gpu::doInBatch("DrawOverlay3D::main", args->_context, [&](gpu::Batch& batch) {
|
gpu::doInBatch("DrawOverlay3D::main", args->_context, [&](gpu::Batch& batch) {
|
||||||
args->_batch = &batch;
|
args->_batch = &batch;
|
||||||
|
|
Loading…
Reference in a new issue