UNDO also undos changing the perspective using 3dconnexion space mouse. How to stop this?
ernestdc4137220
Posts: 6
I've been using a 3DConnexion space mouse for some time now, and now for some reason, now, all perspective changes made by using the space mouse is UNDO-able.
Meaning if I go
- Create Object
- Move Camera with Space Mouse
- Translate Object on X
- Change perspective with space mouse
- Translate Object on Y
- Change perspective with space mouse
The undo commands will be undoing the changes of perspective as well as the transform (so undoing 6,5,4,3, etc) instead of undoing only 5 and 3. I am in perspective view and not in camera view. It's like DAZ treats any movment of the viewport through the 3dConnexion mouse as a Camera Transform. Is there a way to prevent this? If I want to undo something, I want to undo my last 3 actual changes to the scene and not every rotation or pan I made in the viewport using the 3dconnexion mouse.
Thanks :)
Comments
Looks like we have to live with that; there seems no way around this.
What happens in the background (I guess) is that the traditional cam movement has an extra check "if cam is 'Perspective' then don't save to the undo stack". The 3dconnexion plugin does its own transforms, and it does not do that check.
Same thing with the "Top/Right/Front/..." views. Traditional controls check that and don't allow rotation in these views. The 3dconnexion plugin doesn't check that, so you can freely move in the "Front" view.
Only hope would be an updated 3dx plugin. I don't see that happening, not enough users and too many other tasks.
I actually started with a little project to write a better plugin, ideally with special features that let you pose with the SpaceMouse (or any joystick device). The project died in its infancy, though. It looks like the 3dx plugin has special access that you don't get with the public SDK.
Q to devs: is there any way to register a plugin, so that it is called from the core loop before every draw()?
(the only workaround I see is to have an external tool spam virtual mouse clicks on the plugin's panel, but I won't go *that* low...)
Thanks for the info. That is unfortunate for us.