Crash when clicking blank canvas
codefaux opened this issue · 2 comments
codefaux commented
Just as listed - start the app, click the blank window anywhere. App freezes, app explodes. Implodes? Anyway, lol
Current commit is b7ae990 (If I did that right)
File "C:\Code\git\UnstableFusion\unstablefusion.py", line 633, in mousePressEvent
pos = self.window_to_image_point(e.pos())
File "C:\Code\git\UnstableFusion\unstablefusion.py", line 660, in window_to_image_point
return QPoint(new_x, new_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'```
ahrm commented
Should be fixed now.
codefaux commented
lol what took so long :P
Seriously though, impressive response time, good fix. Can't wait to experiment with it.