Skip to content

Commit ff35f9c

Browse files
committedNov 22, 2018
[3d] fix initial camera position when loading a project with animation
1 parent ec17876 commit ff35f9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/3d/qgs3danimationwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ void Qgs3DAnimationWidget::setCameraController( QgsCameraController *cameraContr
6969

7070
void Qgs3DAnimationWidget::setAnimation( const Qgs3DAnimationSettings &animSettings )
7171
{
72-
cboInterpolation->setCurrentIndex( animSettings.easingCurve().type() );
72+
whileBlocking( cboInterpolation )->setCurrentIndex( animSettings.easingCurve().type() );
7373

7474
// initialize GUI from the given animation
7575
cboKeyframe->clear();

0 commit comments

Comments
 (0)
Please sign in to comment.