Skip to content

Commit

Permalink
break cyclic connection
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec authored and wonder-sk committed Dec 10, 2020
1 parent cf3a2ac commit 5a6f95a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/3d/qgs3dnavigationwidget.cpp
Expand Up @@ -202,5 +202,5 @@ Qgs3DNavigationWidget::Qgs3DNavigationWidget( Qgs3DMapCanvas *parent ) : QWidget
void Qgs3DNavigationWidget::updateFromCamera()
{
// Make sure the angle is between 0 - 359
mCompas->setValue( fmod( mParent3DMapCanvas->cameraController()->yaw() + 360, 360 ) );
whileBlocking( mCompas )->setValue( fmod( mParent3DMapCanvas->cameraController()->yaw() + 360, 360 ) );
}

0 comments on commit 5a6f95a

Please sign in to comment.