mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
Revert "Add tracing events to Qgs3DMapScene and QgsCameraController"
This reverts commit c8b7bcfe714da9248c58e3d112fe6f131a9419ab.
This commit is contained in:
parent
0ee993ffbe
commit
b7c35003b6
@ -334,7 +334,8 @@ void Qgs3DMapScene::updateScene( bool forceUpdate )
|
||||
return;
|
||||
}
|
||||
|
||||
QgsEventTracing::ScopedEvent traceEvent( QStringLiteral( "3D" ), forceUpdate ? QStringLiteral( "Force update scene" ) : QStringLiteral( "Update scene" ) );
|
||||
if ( forceUpdate )
|
||||
QgsEventTracing::addEvent( QgsEventTracing::Instant, QStringLiteral( "3D" ), QStringLiteral( "Update Scene" ) );
|
||||
|
||||
Qgs3DMapSceneEntity::SceneContext sceneContext;
|
||||
Qt3DRender::QCamera *camera = mEngine->camera();
|
||||
@ -420,8 +421,6 @@ bool Qgs3DMapScene::updateCameraNearFarPlanes()
|
||||
|
||||
void Qgs3DMapScene::onFrameTriggered( float dt )
|
||||
{
|
||||
QgsEventTracing::addEvent( QgsEventTracing::EventType::Instant, QStringLiteral( "3D" ), QStringLiteral( "Frame begins" ) );
|
||||
|
||||
mCameraController->frameTriggered( dt );
|
||||
|
||||
updateScene();
|
||||
|
@ -15,7 +15,6 @@
|
||||
|
||||
#include "qgscameracontroller.h"
|
||||
#include "moc_qgscameracontroller.cpp"
|
||||
#include "qgseventtracing.h"
|
||||
#include "qgsvector3d.h"
|
||||
#include "qgswindow3dengine.h"
|
||||
#include "qgs3dmapscene.h"
|
||||
@ -303,8 +302,6 @@ void QgsCameraController::onPositionChanged( Qt3DInput::QMouseEvent *mouse )
|
||||
if ( !mInputHandlersEnabled )
|
||||
return;
|
||||
|
||||
QgsEventTracing::ScopedEvent traceEvent( QStringLiteral( "3D" ), QStringLiteral( "QgsCameraController::onPositionChanged" ) );
|
||||
|
||||
switch ( mCameraNavigationMode )
|
||||
{
|
||||
case Qgis::NavigationMode::TerrainBased:
|
||||
|
Loading…
x
Reference in New Issue
Block a user