mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-19 19:14:42 +00:00
resolved ambiguity for abs overloads
This commit is contained in:
parent
c5785d22b2
commit
be21cc8d30
@ -83,7 +83,7 @@ void EqHandle::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
|
||||
setCursor(Qt::OpenHandCursor);
|
||||
|
||||
QPointF newPos = event->scenePos();
|
||||
qreal handleOffset = abs(newPos.x()-pos().x());
|
||||
qreal handleOffset = std::fabs(newPos.x()-pos().x());
|
||||
|
||||
if (handleOffset >= std::numeric_limits<float>::epsilon())
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user