mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
LP-29 more osgearth log silencing
This commit is contained in:
parent
7212d65a1f
commit
2c75badb0b
@ -77,7 +77,6 @@ OSGBillboardNode::OSGBillboardNode(QObject *parent) : Inherited(parent), h(new H
|
||||
|
||||
OSGBillboardNode::~OSGBillboardNode()
|
||||
{
|
||||
qDebug() << "OSGBillboardNode::~OSGBillboardNode";
|
||||
delete h;
|
||||
}
|
||||
|
||||
|
@ -196,7 +196,6 @@ OSGCamera::OSGCamera(QObject *parent) : Inherited(parent), h(new Hidden(this))
|
||||
|
||||
OSGCamera::~OSGCamera()
|
||||
{
|
||||
qDebug() << "OSGCamera::~OSGCamera";
|
||||
delete h;
|
||||
}
|
||||
|
||||
|
@ -151,7 +151,6 @@ OSGFileNode::OSGFileNode(QObject *parent) : Inherited(parent), h(new Hidden(this
|
||||
|
||||
OSGFileNode::~OSGFileNode()
|
||||
{
|
||||
qDebug() << "OSGFileNode::~OSGFileNode";
|
||||
delete h;
|
||||
}
|
||||
|
||||
|
@ -160,7 +160,6 @@ OSGGeoTransformNode::OSGGeoTransformNode(QObject *parent) : Inherited(parent), h
|
||||
|
||||
OSGGeoTransformNode::~OSGGeoTransformNode()
|
||||
{
|
||||
qDebug() << "OSGGeoTransformNode::~OSGGeoTransformNode";
|
||||
delete h;
|
||||
}
|
||||
|
||||
|
@ -196,7 +196,6 @@ OSGGroup::OSGGroup(QObject *parent) : Inherited(parent), h(new Hidden(this))
|
||||
|
||||
OSGGroup::~OSGGroup()
|
||||
{
|
||||
qDebug() << "OSGGroup::~OSGGroup";
|
||||
delete h;
|
||||
}
|
||||
|
||||
|
@ -93,7 +93,6 @@ OSGImageNode::OSGImageNode(QObject *parent) : Inherited(parent), h(new Hidden(th
|
||||
|
||||
OSGImageNode::~OSGImageNode()
|
||||
{
|
||||
qDebug() << "OSGImageNode::~OSGImageNode";
|
||||
delete h;
|
||||
}
|
||||
|
||||
|
@ -82,7 +82,6 @@ OSGShapeNode::OSGShapeNode(QObject *parent) : Inherited(parent), h(new Hidden(th
|
||||
|
||||
OSGShapeNode::~OSGShapeNode()
|
||||
{
|
||||
qDebug() << "OSGShapeNode::~OSGShapeNode";
|
||||
delete h;
|
||||
}
|
||||
|
||||
|
@ -230,7 +230,6 @@ OSGSkyNode::OSGSkyNode(QObject *parent) : Inherited(parent), h(new Hidden(this))
|
||||
|
||||
OSGSkyNode::~OSGSkyNode()
|
||||
{
|
||||
qDebug() << "OSGSkyNode::~OSGSkyNode";
|
||||
delete h;
|
||||
}
|
||||
|
||||
|
@ -96,7 +96,6 @@ OSGTransformNode::OSGTransformNode(QObject *parent) : Inherited(parent), h(new H
|
||||
|
||||
OSGTransformNode::~OSGTransformNode()
|
||||
{
|
||||
qDebug() << "OSGTransformNode::~OSGTransformNode";
|
||||
delete h;
|
||||
}
|
||||
|
||||
|
@ -614,7 +614,6 @@ OSGViewport::OSGViewport(QQuickItem *parent) : Inherited(parent), h(new Hidden(t
|
||||
|
||||
OSGViewport::~OSGViewport()
|
||||
{
|
||||
// qDebug() << "OSGViewport::~OSGViewport";
|
||||
delete h;
|
||||
}
|
||||
|
||||
|
@ -110,7 +110,6 @@ OSGCameraManipulator::OSGCameraManipulator(QObject *parent) : QObject(parent), h
|
||||
|
||||
OSGCameraManipulator::~OSGCameraManipulator()
|
||||
{
|
||||
qDebug() << "OSGCameraManipulator::~OSGCameraManipulator";
|
||||
delete h;
|
||||
}
|
||||
|
||||
|
@ -62,7 +62,6 @@ OSGEarthManipulator::OSGEarthManipulator(QObject *parent) : Inherited(parent), h
|
||||
|
||||
OSGEarthManipulator::~OSGEarthManipulator()
|
||||
{
|
||||
qDebug() << "OSGEarthManipulator::~OSGEarthManipulator";
|
||||
delete h;
|
||||
}
|
||||
} // namespace osgQtQuick
|
||||
|
@ -208,7 +208,6 @@ OSGGeoTransformManipulator::OSGGeoTransformManipulator(QObject *parent) : Inheri
|
||||
|
||||
OSGGeoTransformManipulator::~OSGGeoTransformManipulator()
|
||||
{
|
||||
qDebug() << "OSGGeoTransformManipulator::~OSGGeoTransformManipulator";
|
||||
delete h;
|
||||
}
|
||||
|
||||
|
@ -127,7 +127,6 @@ OSGNodeTrackerManipulator::OSGNodeTrackerManipulator(QObject *parent) : Inherite
|
||||
|
||||
OSGNodeTrackerManipulator::~OSGNodeTrackerManipulator()
|
||||
{
|
||||
qDebug() << "OSGNodeTrackerManipulator::~OSGNodeTrackerManipulator";
|
||||
delete h;
|
||||
}
|
||||
|
||||
|
@ -62,7 +62,6 @@ OSGTrackballManipulator::OSGTrackballManipulator(QObject *parent) : Inherited(pa
|
||||
|
||||
OSGTrackballManipulator::~OSGTrackballManipulator()
|
||||
{
|
||||
qDebug() << "OSGTrackballManipulator::~OSGTrackballManipulator";
|
||||
delete h;
|
||||
}
|
||||
} // namespace osgQtQuick
|
||||
|
@ -103,14 +103,14 @@ GraphicsWindowQt::GraphicsWindowQt(osg::GraphicsContext::Traits *traits) :
|
||||
_glContext(NULL),
|
||||
_surface(NULL)
|
||||
{
|
||||
qDebug() << "GraphicsWindowQt::GraphicsWindowQt";
|
||||
// qDebug() << "GraphicsWindowQt::GraphicsWindowQt";
|
||||
_traits = traits;
|
||||
init();
|
||||
}
|
||||
|
||||
GraphicsWindowQt::~GraphicsWindowQt()
|
||||
{
|
||||
qDebug() << "GraphicsWindowQt::~GraphicsWindowQt";
|
||||
// qDebug() << "GraphicsWindowQt::~GraphicsWindowQt";
|
||||
close();
|
||||
}
|
||||
|
||||
@ -217,7 +217,7 @@ bool GraphicsWindowQt::realizeImplementation()
|
||||
QOpenGLContext *currentContext = QOpenGLContext::currentContext();
|
||||
|
||||
if (!currentContext) {
|
||||
qDebug() << "GraphicsWindowQt::realizeImplementation - creating owned context";
|
||||
// qDebug() << "GraphicsWindowQt::realizeImplementation - creating owned context";
|
||||
_owned = true;
|
||||
_glContext = new QOpenGLContext();
|
||||
_glContext->create();
|
||||
@ -228,7 +228,7 @@ bool GraphicsWindowQt::realizeImplementation()
|
||||
osgQtQuick::formatInfo(_surface->format());
|
||||
#endif
|
||||
} else {
|
||||
qDebug() << "GraphicsWindowQt::realizeImplementation - using current context";
|
||||
// qDebug() << "GraphicsWindowQt::realizeImplementation - using current context";
|
||||
_glContext = currentContext;
|
||||
}
|
||||
|
||||
@ -318,7 +318,7 @@ bool GraphicsWindowQt::releaseContextImplementation()
|
||||
return false;
|
||||
}
|
||||
if (_owned && _glContext) {
|
||||
qDebug() << "GraphicsWindowQt::releaseContextImplementation";
|
||||
// qDebug() << "GraphicsWindowQt::releaseContextImplementation";
|
||||
_glContext->doneCurrent();
|
||||
}
|
||||
return true;
|
||||
@ -326,14 +326,14 @@ bool GraphicsWindowQt::releaseContextImplementation()
|
||||
|
||||
void GraphicsWindowQt::closeImplementation()
|
||||
{
|
||||
qDebug() << "GraphicsWindowQt::closeImplementation";
|
||||
// qDebug() << "GraphicsWindowQt::closeImplementation";
|
||||
_closing = true;
|
||||
_initialized = false;
|
||||
_valid = false;
|
||||
_realized = false;
|
||||
if (_owned) {
|
||||
if (_glContext) {
|
||||
qDebug() << "GraphicsWindowQt::closeImplementation - deleting owned context";
|
||||
// qDebug() << "GraphicsWindowQt::closeImplementation - deleting owned context";
|
||||
delete _glContext;
|
||||
}
|
||||
if (_surface) {
|
||||
|
@ -127,16 +127,16 @@ void QuickWidgetProxy::onStatusChanged(QQuickWidget::Status status)
|
||||
{
|
||||
switch (status) {
|
||||
case QQuickWidget::Null:
|
||||
qDebug() << "QuickWidgetProxy - status Null";
|
||||
qWarning() << "QuickWidgetProxy - status Null";
|
||||
break;
|
||||
case QQuickWidget::Ready:
|
||||
qDebug() << "QuickWidgetProxy - status Ready";
|
||||
// qDebug() << "QuickWidgetProxy - status Ready";
|
||||
break;
|
||||
case QQuickWidget::Loading:
|
||||
qDebug() << "QuickWidgetProxy - status Loading";
|
||||
// qDebug() << "QuickWidgetProxy - status Loading";
|
||||
break;
|
||||
case QQuickWidget::Error:
|
||||
qDebug() << "QuickWidgetProxy - status Error";
|
||||
qWarning() << "QuickWidgetProxy - status Error";
|
||||
foreach(const QQmlError &error, errors()) {
|
||||
qWarning() << error.description();
|
||||
}
|
||||
@ -148,16 +148,16 @@ void QuickWidgetProxy::onStatusChanged(QQuickView::Status status)
|
||||
{
|
||||
switch (status) {
|
||||
case QQuickView::Null:
|
||||
qDebug() << "QuickWidgetProxy - status Null";
|
||||
qWarning() << "QuickWidgetProxy - status Null";
|
||||
break;
|
||||
case QQuickView::Ready:
|
||||
qDebug() << "QuickWidgetProxy - status Ready";
|
||||
// qDebug() << "QuickWidgetProxy - status Ready";
|
||||
break;
|
||||
case QQuickView::Loading:
|
||||
qDebug() << "QuickWidgetProxy - status Loading";
|
||||
// qDebug() << "QuickWidgetProxy - status Loading";
|
||||
break;
|
||||
case QQuickView::Error:
|
||||
qDebug() << "QuickWidgetProxy - status Error";
|
||||
qWarning() << "QuickWidgetProxy - status Error";
|
||||
foreach(const QQmlError &error, errors()) {
|
||||
qWarning() << error.description();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user