Joined: May 18, 2021
Post Count: 241
Status:
Offline
Re: Pan tool in 3D and 2D view?
It's a Dell XPS 15 with an i7-7700HQ @ 2.8Ghz with 4C/8T, and it has an UHD screen, but I use it with two dedicated non-UHD monitors. I wouldn't know if that still compares as "very fast", or if the mouse events are particularly high frequency, but in settings the cursor speed is maxed.
I don't think I've ever had weird behaviour in the Aerial view.
Joined: May 18, 2021
Post Count: 241
Status:
Offline
Re: Pan tool in 3D and 2D view?
Another day, another report
So I can trigger this in two ways, but sometimes the middle click pan just stops working. 1) The reliable way is to open SH3D, place a cube and test. Pan works. Then display the 3D view in a separate window. Pan no longer works. 2) The unreliable way is to just use SH3D for a while. Even without separating the window, something occasionally causes the pan feature to stop working.
I check the redirected log, and there are no exceptions or errors in the few lines in there.
Joined: May 18, 2021
Post Count: 241
Status:
Offline
Re: Pan tool in 3D and 2D view?
I should clarify, the application returns to zooming on middle-click drag. It is like in certain situations the application re-asserts the normal mouse handling from before your plugin inserted itself.
Italy
Joined: Nov 17, 2021
Post Count: 431
Status:
Offline
Re: Pan tool in 3D and 2D view?
Hi Stephen, I was aware of this bug when detaching the 3D view, I admit I have spent few time to see what causes the issue, however fixing it is on the roadmap. The bug never happened to me in the second way, maybe fixing the code for the first case could be enough to handle the second too, if not I'll have to investigate more. I'll keep you updated. Daniele
Italy
Joined: Nov 17, 2021
Post Count: 431
Status:
Offline
Re: Pan tool in 3D and 2D view?
Hi Stephen, I've implemented a workaround for the problem occurring when detaching the 3D view, it works well and I'm now making extensive tests, you can download it in preview from here: Pan3dView-1.9.sh3p
If you are interested in, you may take a look at these 2 plugins too:
France
Joined: Nov 7, 2005
Post Count: 9371
Status:
Offline
Re: Pan tool in 3D and 2D view?
As a macOS user, I don't have any middle button on my mouse but still tried this plug-in because it's required for the other nice plug-ins you developed. Unfortunately, swiping the mouse (= rolling the mouse wheel) provokes too fast back and forth moves without backward limits, when the Pan3dView plug-in is installed. I would be nice if you could fix that, and possibly propose an alternate way for a middle click.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
Italy
Joined: Nov 17, 2021
Post Count: 431
Status:
Offline
Re: Pan tool in 3D and 2D view?
@Puybaret Thank you Emmanuel for you feedback :) I didn't know macOS' mice lack the middle button. I apologize for this, I'll try to implement an alternative method of enabling panning (I'm thinking of holding a key such as ALT while dragging).
Adding a limit for the backward movement shouldn't be a problem. Moreover I also didn't implement the speed switch with the SHIFT key, but I can add it too.
Please note that I've substantially changed the way the scroll wheel moves the camera from linear to an exponential fashon, this way it acts much as a "zoom" than as navigation, which I find more confortable. However I understand some users could like the default behaviour, so I'm thinking about introducing a dialog to customize these settings.