mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
Revert "Apply suggestions per review"
This reverts commit 5c1063c0ff3765c14f1a160f2e3337005006a499.
This commit is contained in:
parent
c1bea4fb30
commit
f6e67ac33e
@ -45,7 +45,7 @@
|
|||||||
#include <Qt3DRender/QRenderSettings>
|
#include <Qt3DRender/QRenderSettings>
|
||||||
#include <QOpenGLContext>
|
#include <QOpenGLContext>
|
||||||
#include <QOpenGLFunctions>
|
#include <QOpenGLFunctions>
|
||||||
#include <Qt3DLogic/QFrameAction>
|
#include <qframeaction.h>
|
||||||
|
|
||||||
|
|
||||||
#if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 )
|
#if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 )
|
||||||
@ -72,7 +72,6 @@ void Qgs3DUtils::waitForFrame( QgsAbstract3DEngine &engine, Qgs3DMapScene *scene
|
|||||||
QObject::connect( frameAction, &Qt3DLogic::QFrameAction::triggered, &evLoop, &QEventLoop::quit );
|
QObject::connect( frameAction, &Qt3DLogic::QFrameAction::triggered, &evLoop, &QEventLoop::quit );
|
||||||
evLoop.exec();
|
evLoop.exec();
|
||||||
scene->removeComponent( frameAction );
|
scene->removeComponent( frameAction );
|
||||||
frameAction->deleteLater();
|
|
||||||
|
|
||||||
engine.renderSettings()->setRenderPolicy( oldPolicy );
|
engine.renderSettings()->setRenderPolicy( oldPolicy );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user