Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QPoint(QPoint): argument 1 has unexpected type 'float' #96

Closed
monkeycc opened this issue Jun 6, 2023 · 1 comment · Fixed by #101
Closed

QPoint(QPoint): argument 1 has unexpected type 'float' #96

monkeycc opened this issue Jun 6, 2023 · 1 comment · Fixed by #101

Comments

@monkeycc
Copy link

monkeycc commented Jun 6, 2023

Traceback (most recent call last):
  File "C:\Users\monke\anaconda3\lib\site-packages\anylabeling\views\labeling\widgets\canvas.py", line 285, in mouseMoveEvent
    pos = self.intersection_point(self.current[-1], pos)
  File "C:\Users\monke\anaconda3\lib\site-packages\anylabeling\views\labeling\widgets\canvas.py", line 1043, in intersection_point
    return QtCore.QPoint(x, y)
TypeError: arguments did not match any overloaded call:
  QPoint(): too many arguments
  QPoint(int, int): argument 1 has unexpected type 'float'
  QPoint(QPoint): argument 1 has unexpected type 'float'
@vietanhdev
Copy link
Owner

@monkeycc Resolved in #101 . Please check and feedback.
Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants