Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
NiranV
Black Dragon Viewer
Commits
f6b12f85
Commit
f6b12f85
authored
Jan 31, 2021
by
NiranV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed: Turn does not swap to Strafe when in Third Person Steering Mode or Right-Click drag mode.
parent
dc3a8061
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
indra/newview/llviewerkeyboard.cpp
indra/newview/llviewerkeyboard.cpp
+7
-2
No files found.
indra/newview/llviewerkeyboard.cpp
View file @
f6b12f85
...
...
@@ -244,7 +244,10 @@ void agent_turn_left( EKeystate s )
if
(
gAgent
.
isMovementLocked
())
return
;
if
(
LLToolCamera
::
getInstance
()
->
mouseSteerMode
())
//BD - Treat Third Person Steering and Right-Mouse steering the same as Left-Click Steering.
if
(
LLToolCamera
::
getInstance
()
->
mouseSteerMode
()
||
gAgentCamera
.
mThirdPersonSteeringMode
||
LLToolCamera
::
getInstance
()
->
hasMouseCapture
())
{
agent_slide_left
(
s
);
}
...
...
@@ -274,7 +277,9 @@ void agent_turn_right( EKeystate s )
if
(
gAgent
.
isMovementLocked
())
return
;
if
(
LLToolCamera
::
getInstance
()
->
mouseSteerMode
())
if
(
LLToolCamera
::
getInstance
()
->
mouseSteerMode
()
||
gAgentCamera
.
mThirdPersonSteeringMode
||
LLToolCamera
::
getInstance
()
->
hasMouseCapture
())
{
agent_slide_right
(
s
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment