Added the Windlight presets from Emerald.

Camera reset and target position offsets for teleporting are in.
Still having problems with the popup menu not displaying correctly on startup. Poke it a couple times and it's fine. I dunno.
This commit is contained in:
Beeks
2010-09-01 05:41:54 -04:00
parent 3efd8d87a1
commit 7f8652ca20
658 changed files with 75236 additions and 3 deletions

View File

@@ -5241,13 +5241,13 @@ void process_teleport_local(LLMessageSystem *msg,void**)
gAgent.setPositionAgent(pos);
gAgent.slamLookAt(look_at);
if ( !(gAgent.getTeleportKeepsLookAt() && LLViewerJoystick::getInstance()->getOverrideCamera()) )
if ( !(gAgent.getTeleportKeepsLookAt() && LLViewerJoystick::getInstance()->getOverrideCamera()) && gSavedSettings.getBOOL("OptionRotateCamAfterLocalTP"))
{
gAgent.resetView(TRUE, TRUE);
}
// send camera update to new region
gAgent.updateCamera();
//gAgent.updateCamera();
send_agent_update(TRUE, TRUE);
}