Gui: Remove QtOpenGL.h.
This commit is contained in:
@@ -411,10 +411,9 @@ bool MeshRenderer::matchMaterial(SoState* state) const
|
||||
return p->pcolors == pcolors;
|
||||
}
|
||||
|
||||
bool MeshRenderer::shouldRenderDirectly(bool direct)
|
||||
bool MeshRenderer::shouldRenderDirectly([[maybe_unused]] bool direct)
|
||||
{
|
||||
#ifdef RENDER_GL_VAO
|
||||
(void)direct;
|
||||
return false;
|
||||
#else
|
||||
return direct;
|
||||
|
||||
@@ -30,8 +30,6 @@
|
||||
# include <Inventor/nodes/SoImage.h>
|
||||
#endif
|
||||
|
||||
#include <QtOpenGL.h>
|
||||
|
||||
#include <Gui/Application.h>
|
||||
#include <Gui/Document.h>
|
||||
#include <Gui/Selection/Selection.h>
|
||||
@@ -107,7 +105,7 @@ Teapots(Gui::View3DInventorViewer* v) :view(v)
|
||||
|
||||
rubberBandIsShown = false;
|
||||
fbObject = new QOpenGLFramebufferObject(size[0],size[1],
|
||||
QOpenGLFramebufferObject::Depth);
|
||||
QOpenGLFramebufferObject::Depth);
|
||||
resizeGL(size[0],size[1]);
|
||||
|
||||
rubberBandIsShown = true;
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#ifndef SANDBOXGUI_OVERLAY_H
|
||||
#define SANDBOXGUI_OVERLAY_H
|
||||
|
||||
#include <QtOpenGL.h>
|
||||
#include <Gui/MouseSelection.h>
|
||||
#include <QColor>
|
||||
#include <QPoint>
|
||||
|
||||
@@ -34,8 +34,6 @@
|
||||
# include <Inventor/SbLinear.h>
|
||||
#endif
|
||||
|
||||
#include <QtOpenGL.h>
|
||||
|
||||
#include "Workbench.h"
|
||||
#include <App/Application.h>
|
||||
#include <Gui/MenuManager.h>
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <QContextMenuEvent>
|
||||
#include <QLabel>
|
||||
#include <QMouseEvent>
|
||||
#include <QOpenGLWidget>
|
||||
#include <QPaintEvent>
|
||||
#include <QPainter>
|
||||
#include <QScrollBar>
|
||||
|
||||
Reference in New Issue
Block a user