message: UI-Qt: SpinWidget now updates in paste modes.
  Previously, when drag-pasting etc., the visualisation would not update adequately. Now, an update call is made after each change to the system.
diff: @@ -666,27 +666,32 @@ void SpinWidget::mouseMoveEvent(QMouseEvent *event)
  if (this->m_suspended)
  return;
  - float scale = 1;
  -
  - if (event->modifiers() & Qt::ShiftModifier)
  - {
  - scale = 0.1f;
  - }
  if (m_interactionmode == InteractionMode::DRAG)
  + {
  dragpaste();
  + QTimer::singleShot(1, this, SLOT(update()));
  + }
  else if (m_interactionmode == InteractionMode::DEFECT)
  + {
  defectpaste();
  + QTimer::singleShot(1, this, SLOT(update()));
  + }
  else if (m_interactionmode == InteractionMode::PIN)
  + {
  pinningpaste();
  - else
  + QTimer::singleShot(1, this, SLOT(update()));
  + }
  + else if (event->buttons() & Qt::LeftButton || event->buttons() & Qt::RightButton)
  {
  + float scale = 1;
  + if (event->modifiers() & Qt::ShiftModifier)
  + scale = 0.1f;
  +
  glm::vec2 current_mouse_position = glm::vec2(event->pos().x(), event->pos().y()) * (float)devicePixelRatio() * scale;
  glm::vec2 previous_mouse_position = glm::vec2(m_previous_mouse_position.x(), m_previous_mouse_position.y()) * (float)devicePixelRatio() * scale;
  m_previous_mouse_position = event->pos();
  - if (event->buttons() & Qt::LeftButton || event->buttons() & Qt::RightButton)
  - {
  VFRendering::CameraMovementModes movement_mode = VFRendering::CameraMovementModes::ROTATE_BOUNDED;
  if (this->m_camera_rotate_free) movement_mode = VFRendering::CameraMovementModes::ROTATE_FREE;
  if ((event->modifiers() & Qt::AltModifier) == Qt::AltModifier || event->buttons() & Qt::RightButton)
  @@ -698,14 +703,6 @@ void SpinWidget::mouseMoveEvent(QMouseEvent *event)
  QTimer::singleShot(1, this, SLOT(update()));
  }
  }
  -}
  -
  -
  -
  -float SpinWidget::getFramesPerSecond() const
  -{
  - return this->m_view.getFramerate();
  -}
  void SpinWidget::wheelEvent(QWheelEvent *event)
  {
  @@ -741,6 +738,12 @@ void SpinWidget::updateMouseDecoration()
  }
  +float SpinWidget::getFramesPerSecond() const
  +{
  + return this->m_view.getFramerate();
  +}
  +
  +
  const VFRendering::Options& SpinWidget::options() const
  {
  return this->m_view.options();
  