Commit c5932b6e authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed deprecation QWheelevent warning

parent e5428754
......@@ -550,7 +550,7 @@ void SelectionBasePlugin::slotMouseWheelEvent(QWheelEvent* _event, const std::st
// Increase sphere radius
if (currentSelectionMode_ == SB_SPHERE) {
float d = -(float)_event->angleDelta() / 120.0 * 0.1;
float d = -(float)_event->angleDelta().y() / 120.0 * 0.1;
sphere_radius_ *= 1.0 + d;
sphere_node_->set_size(sphere_radius_);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment