Skip to content
Permalink
Browse files

[3d] if slider is at the very end when hitting play, rewind and play

  • Loading branch information
nirvn committed Jul 10, 2018
1 parent 73edd8f commit 64b91cc18c4ce51d6b54247bb35ad8a928741522
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/app/3d/qgs3danimationwidget.cpp
@@ -138,6 +138,11 @@ void Qgs3DAnimationWidget::onPlayPause()
}
else
{
if ( sliderTime->value() >= sliderTime->maximum() )
{
sliderTime->setValue( 0 );
}

cboKeyframe->setCurrentIndex( 0 ); // unset active keyframe
cboKeyframe->setEnabled( false );
mAnimationTimer->start();

0 comments on commit 64b91cc

Please sign in to comment.
You can’t perform that action at this time.