TPS camera: "Dynamic camera" option -- Esc drops to the normal follow camera instead of re-grabbing the mouse #952
Labels
No labels
amd
avatars
bug
builder
cannot-reproduce
crash
epic
feature
from-viewer
gl-removal
known-limitation
monitoring
parity
perf
platform
priority
critical
priority
high
priority
low
priority
medium
provenance
rendering
rt
status
in-progress
status
testing
status
up-next
triage
ui
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sky_line/Slipstream#952
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Request
Add a Dynamic camera option to the third-person shooter camera (Preferences > Move & View, next to the other TPS options; setting e.g.
SlipstreamTPSDynamicCamera, default off so current behaviour is unchanged).With it on, pressing Esc while the TPS camera is released does not grab the mouse again. Instead it resets to the normal follow camera, exactly as Esc does in the other camera modes: camera snaps back behind the avatar, pointer stays free.
Current behaviour (
handle_reset_view,indra/newview/llviewermenu.cpp)SLTPSCamera::disengage(DISENGAGE_USER)).requestEngage()) -- back behind the avatar with the mouse captured. The stock view reset only runs where TPS can't engage (sitting, build, appearance, mouselook).So with TPS enabled there is no way to get the normal follow camera with a free mouse from the keyboard: every second Esc grabs the mouse again.
Wanted with Dynamic camera on
reset_view_finalpath) instead ofrequestEngage(): follow camera behind the avatar, mouse free, movement keys behave as in the stock camera.Files
indra/newview/llviewermenu.cpp(handle_reset_view)indra/newview/sltpscamera.{h,cpp}indra/newview/app_settings/settings.xmlindra/newview/skins/default/xui/en/panel_preferences_move.xmlTest