Richard Nelson
6cc65f9e5f
merge
2010-04-01 12:52:04 -07:00
Richard Nelson
656a533fac
EXT-6431 - Avatar head doesn't correctly follow mouse when side panel is open
2010-04-01 12:41:41 -07:00
Tofu Linden
fb08c17cdd
Checker: UNINIT_CTOR
...
Function: LLAgentCamera::LLAgentCamera()
File: /indra/newview/llagentcamera.cpp
2010-04-01 17:25:42 +01:00
Tofu Linden
56dbd313a1
Checker: CHECKED_RETURN
...
Function: LLAgentCamera::updateCamera()
File: /indra/newview/llagentcamera.cpp
not a bug, but I cleaned up BOOL->bool
2010-04-01 17:23:49 +01:00
Loren Shih
7a8c6a235e
EXT-6632 : INFRASTRUCTURE: LLAgentCamera / LLAgent header file / #include cleanup
...
Took out unnecessary #includes from llagentcamera.*
2010-03-30 15:05:48 -04:00
Loren Shih
b15e34b942
EXT-6630 : INFRASTRUCTURE: Pull out -Keys functions from llagent into llagentcamera
...
Orbit/Pan keys were already in llagentcamera. Pulled alt/walk/left/up/yaw/pitch into llagentcamera.
2010-03-30 14:21:20 -04:00
Loren Shih
b6e7850c0a
Merge
2010-03-29 12:30:09 -04:00
Loren Shih
58d76a9ecf
EXT-6536 : Make LLVOAvatarSelf a singleton
...
Superficial cleanup to replace all instances of "gAgentAvatar" with "gAgentAvatarp".
2010-03-29 12:11:51 -04:00
Loren Shih
94e6e10739
EXT-6536 : Make LLVOAvatarSelf a singleton
...
Superficial cleanup to replace all instances of "LLVOAvatarSelf *avatarp = gAgent.getAvatarObject" with "gAgentAvatar".
2010-03-29 12:00:26 -04:00
Monroe Linden
8a3fe4d9e4
Fix for EXT-6573 (Mouse-steering doesn't work in third person view)
...
LLAgentCamera::cameraOrbitAround() (which had been created from LLAgent:: cameraOrbitAround() when LLAgentCamera was factored out) wasn't correctly processing yaw. Specifically, since gAgent.getFrameAgent() returns by value and not reference, gAgent.getFrameAgent().rotate() was discarding the result of the rotation.
Changed LLAgentCamera::cameraOrbitAround() to use gAgent.yaw() instead, and changed LLAgent::getFrameAgent() to return a const reference instead of a value, which should make the compiler catch errors like this.
Reviewed by Richard in http://codereview.lindenlab.com/1153001
2010-03-26 17:47:12 -07:00
Loren Shih
0bcfbde3a4
EXT-6536 : Make LLVOAvatarSelf a singleton
...
Lots of superficial cleanup, particularly around "if (" formatting.
Removed LLAgent as a friend of LLAgentCamera and refactored to use accessors.
2010-03-26 13:58:19 -04:00
Loren Shih
853d9e4453
EXT-6539 : Take out mAvatarObject from LLAgentWearables
...
Removed mAvatarObject / gAgentWearables.mAvatarObject since it's redundant with gAgent.mAvatarObject.
2010-03-25 17:27:50 -04:00
Loren Shih
504cf0870d
EXT-2959 : Pull out camera functions from llagent to llagentcamera
...
#3 checkin.
Took out llagent "friend llagentcamera" and added accessors instead.
Did some superficial formatting cleanup.
2010-03-25 15:06:48 -04:00
Loren Shih
cc4a9b5640
EXT-2959 : Pull out camera functions from llagent to llagentcamera
...
#2 checkin.
Superficial cleanup and some bug fixing (e.g. took out duplicate mDrawDistance from llagent, took out gAgentCameraHACK and gAgentHACK).
2010-03-24 16:12:01 -04:00
Loren Shih
fc49539b36
EXT-2959 : Full out camera functions from llagent to llagentcamera
...
First check-in; only compiles, nothing more.
2010-03-23 15:59:52 -04:00