Merge branch 'animesh' of git://github.com/Shyotl/SingularityViewer
# Conflicts: # indra/llcommon/llstring.h # indra/newview/llviewermenu.cpp # indra/newview/llviewerregion.cpp
This commit is contained in:
@@ -935,6 +935,16 @@ void LLAgent::setRegion(LLViewerRegion *regionp)
|
||||
{
|
||||
gSky.mVOGroundp->setRegion(regionp);
|
||||
}
|
||||
|
||||
if (regionp->capabilitiesReceived())
|
||||
{
|
||||
regionp->requestSimulatorFeatures();
|
||||
}
|
||||
else
|
||||
{
|
||||
regionp->setCapabilitiesReceivedCallback(boost::bind(&LLViewerRegion::requestSimulatorFeatures, regionp));
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -4003,12 +4013,16 @@ bool LLAgent::teleportCore(bool is_local)
|
||||
gTeleportDisplay = TRUE;
|
||||
gAgent.setTeleportState( LLAgent::TELEPORT_START );
|
||||
|
||||
/*static const LLCachedControl<bool> hide_tp_screen("AscentDisableTeleportScreens",false);
|
||||
if(!hide_tp_screen)
|
||||
static const LLCachedControl<bool> hide_tp_screen("AscentDisableTeleportScreens",false);
|
||||
static const LLCachedControl<bool> skip_reset_objects_on_teleport("SHSkipResetVBOsOnTeleport", false);
|
||||
if(!hide_tp_screen && !skip_reset_objects_on_teleport)
|
||||
{
|
||||
// AscentDisableTeleportScreens TRUE might be broken..*/
|
||||
|
||||
//release geometry from old location
|
||||
gPipeline.resetVertexBuffers();
|
||||
}*/
|
||||
LLSpatialPartition::sTeleportRequested = TRUE;
|
||||
}
|
||||
|
||||
if (gSavedSettings.getBOOL("SpeedRez"))
|
||||
{
|
||||
@@ -4485,8 +4499,7 @@ void LLAgent::stopCurrentAnimations()
|
||||
|
||||
// re-assert at least the default standing animation, because
|
||||
// viewers get confused by avs with no associated anims.
|
||||
sendAnimationRequest(ANIM_AGENT_STAND,
|
||||
ANIM_REQUEST_START);
|
||||
sendAnimationRequest(ANIM_AGENT_STAND, ANIM_REQUEST_START);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user