Closed tosty33 closed 10 years ago
It is done like this: g_mouse.bindAutoPress(mapWidget, handleMousePress, 50, MouseLeftButton)
It needs to be optimized.
This works perfectly fine for me. I don't get the bug here, is it the white thing or that it did not render everything in the line? Are you sure that your left mouse button isn't a little bugged?
I've had the same thing happen to me. It is most likely a cpu / memory usage issue.
It happens to me too because I accidentally release the mouse button.
I can assure you it is not accidentally releasing the mouse button.
Okay, as Summ stated:
g_mouse.bindAutoPress(mapWidget, handleMousePress, 50, MouseLeftButton)
The 50
parameter is the delay, you guys might want to make it 10
and check if it goes fine for you that way.
If so, you should thank @dalkon for this.
g_mouse.bindAutoPress
needs to be re-written, so i'm closing this.
Hello, This is what I get when I try to create straight line by moving the mouse quickly: Reason? I don't know, maybe too many functions are called. Also when I do it, I get about 80-100% core usage, so I think that something needs to be optimized.