diff options
author | David Walter Seikel | 2013-08-30 21:42:45 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-08-30 21:42:45 +1000 |
commit | 56a1de48ee43bfacbd3ef2859f392082a26bc814 (patch) | |
tree | 03bd6092dab42985e536b84d2f311a3a12e4edb4 /linden/indra/newview/llviewercamera.cpp | |
parent | Added a licensing note about gpg.vs, as used to build OTR on Windows. (diff) | |
parent | Merge remote-tracking branch 'origin/next' into WL-refactor (diff) | |
download | meta-impy-56a1de48ee43bfacbd3ef2859f392082a26bc814.zip meta-impy-56a1de48ee43bfacbd3ef2859f392082a26bc814.tar.gz meta-impy-56a1de48ee43bfacbd3ef2859f392082a26bc814.tar.bz2 meta-impy-56a1de48ee43bfacbd3ef2859f392082a26bc814.tar.xz |
Merge remote-tracking branch 'imprudence/next' into next
Unless otherwise stated, Imprudence changes accepted. The three images seem to be the same.
Conflicts:
.gitignore
linden/indra/develop.py
linden/indra/llcommon/llsdserialize_xml.cpp
linden/indra/newview/CMakeLists.txt
Manually combined MOAP, OTR, and WL changes from both.
linden/indra/newview/app_settings/default_grids.xml
Manually merged the grid collection.
Also updated IG info.
linden/indra/newview/hippoupdate.cpp
linden/indra/newview/llettherebelight.cpp
Just used the Imprudence copy.
linden/indra/newview/llviewermessage.cpp
Keep unbranding.
linden/indra/newview/llvoavatar.cpp
Manually merge client tags.
linden/indra/newview/res/viewerRes.rc
Manually merge version from Impy.
linden/indra/newview/skins/dark/colors_base.xml
Keep unbranding.
linden/indra/newview/skins/default/html/unabletoconnect.png
linden/indra/newview/skins/default/textures/icon_top_pick.tga
linden/indra/newview/skins/default/xui/en-us/floater_about.xml
Manual merging of contributors.
linden/indra/newview/skins/gemini/colors_base.xml
Keep unbranding.
linden/indra/newview/skins/gemini/textures/icon_top_pick.tga
linden/indra/newview/viewer_manifest.py
Manually merged boost, gstreamer, OTR, and name.
linden/indra/newview/viewerinfo.cpp
Manually merge the comment.
Diffstat (limited to 'linden/indra/newview/llviewercamera.cpp')
-rw-r--r-- | linden/indra/newview/llviewercamera.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/linden/indra/newview/llviewercamera.cpp b/linden/indra/newview/llviewercamera.cpp index fecab65..69a5621 100644 --- a/linden/indra/newview/llviewercamera.cpp +++ b/linden/indra/newview/llviewercamera.cpp | |||
@@ -131,9 +131,6 @@ void LLViewerCamera::updateCameraLocation(const LLVector3 ¢er, | |||
131 | 131 | ||
132 | mLastPointOfInterest = point_of_interest; | 132 | mLastPointOfInterest = point_of_interest; |
133 | 133 | ||
134 | // constrain to max distance from avatar | ||
135 | LLVector3 camera_offset = center - gAgent.getPositionAgent(); | ||
136 | |||
137 | LLViewerRegion * regp = gAgent.getRegion(); | 134 | LLViewerRegion * regp = gAgent.getRegion(); |
138 | F32 water_height = (NULL != regp) ? regp->getWaterHeight() : 0.f; | 135 | F32 water_height = (NULL != regp) ? regp->getWaterHeight() : 0.f; |
139 | 136 | ||
@@ -306,7 +303,7 @@ void LLViewerCamera::setPerspective(BOOL for_selection, | |||
306 | { | 303 | { |
307 | F32 fov_y, aspect; | 304 | F32 fov_y, aspect; |
308 | fov_y = RAD_TO_DEG * getView(); | 305 | fov_y = RAD_TO_DEG * getView(); |
309 | BOOL z_default_near, z_default_far = FALSE; | 306 | BOOL z_default_far = FALSE; |
310 | if (z_far <= 0) | 307 | if (z_far <= 0) |
311 | { | 308 | { |
312 | z_default_far = TRUE; | 309 | z_default_far = TRUE; |
@@ -314,7 +311,6 @@ void LLViewerCamera::setPerspective(BOOL for_selection, | |||
314 | } | 311 | } |
315 | if (z_near <= 0) | 312 | if (z_near <= 0) |
316 | { | 313 | { |
317 | z_default_near = TRUE; | ||
318 | z_near = getNear(); | 314 | z_near = getNear(); |
319 | } | 315 | } |
320 | aspect = getAspect(); | 316 | aspect = getAspect(); |