mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 12:53:03 +02:00
Fixing issues with the review process
This commit is contained in:
parent
a002560003
commit
a424ff98ca
4 changed files with 8 additions and 6 deletions
|
@ -962,10 +962,6 @@ void Application::paintGL() {
|
|||
_myCamera.update(1.0f / _fps);
|
||||
}
|
||||
|
||||
// Sync up the View Furstum with the camera
|
||||
// loadViewFrustum(_myCamera, _viewFrustum);
|
||||
|
||||
|
||||
renderArgs._renderMode = RenderArgs::DEFAULT_RENDER_MODE;
|
||||
|
||||
if (OculusManager::isConnected()) {
|
||||
|
@ -3010,7 +3006,8 @@ QImage Application::renderAvatarBillboard(RenderArgs* renderArgs) {
|
|||
batch.setFramebuffer(primaryFbo);
|
||||
renderArgs->_context->render(batch);
|
||||
}
|
||||
renderArgs->_renderMode = RenderArgs::NORMAL_RENDER_MODE;
|
||||
renderArgs->_renderMode = RenderArgs::DEFAULT_RENDER_MODE;
|
||||
|
||||
renderRearViewMirror(renderArgs, QRect(0, 0, BILLBOARD_SIZE, BILLBOARD_SIZE), true);
|
||||
|
||||
{
|
||||
|
|
|
@ -1551,7 +1551,9 @@ void MyAvatar::maybeUpdateBillboard() {
|
|||
QBuffer buffer(&_billboard);
|
||||
buffer.open(QIODevice::WriteOnly);
|
||||
image.save(&buffer, "PNG");
|
||||
#ifdef DEBUG
|
||||
image.save("billboard.png", "PNG");
|
||||
#endif
|
||||
_billboardValid = true;
|
||||
|
||||
sendBillboardPacket();
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
#include "Pipeline.h"
|
||||
#include "Framebuffer.h"
|
||||
|
||||
class QImage;
|
||||
|
||||
namespace gpu {
|
||||
|
||||
class Backend {
|
||||
|
|
|
@ -8,10 +8,11 @@
|
|||
// Distributed under the Apache License, Version 2.0.
|
||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
//
|
||||
#include <qimage.h>
|
||||
|
||||
#include "GPULogging.h"
|
||||
#include "GLBackendShared.h"
|
||||
|
||||
#include "qimage.h"
|
||||
|
||||
using namespace gpu;
|
||||
|
||||
|
|
Loading…
Reference in a new issue