WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Wish List (https://www.wowinterface.com/forums/forumdisplay.php?f=15)
-   -   Stopping camera rotation from insecure code (https://www.wowinterface.com/forums/showthread.php?t=35201)

Foxlit 09-29-10 04:04 AM

Stopping camera rotation from insecure code
 
It is currently not possible to end camera rotation (hold LMB, move mouse around to rotate camera) from addon code, as CameraOrSelectOrMoveStop() is protected. The equivalent for terminating mouselook (hold RMB, move mouse around to rotate character) is MouselookStop(), which is not protected.

It would be nice to have an unprotected function like CameraStop() that would terminate camera rotation, as if the player had released the left mouse button.

[I could also live with CameraOrSelectOrMoveStop being added to the restricted environment, but that seems like the wrong solution for this issue -- the camera functionality should probably not be protected in the first place.]


All times are GMT -6. The time now is 04:25 PM.

vBulletin © 2021, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI