SL-15999 - noninteractive: debugging run issues, suppress AFK/Away pose
parent
ec16b30f3b
commit
502d37913d
|
|
@ -1481,7 +1481,7 @@ void LLAgent::resetControlFlags()
|
|||
//-----------------------------------------------------------------------------
|
||||
void LLAgent::setAFK()
|
||||
{
|
||||
if (!gAgent.getRegion())
|
||||
if (gNonInteractive || !gAgent.getRegion())
|
||||
{
|
||||
// Don't set AFK if we're not talking to a region yet.
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -1559,7 +1559,7 @@ bool LLAppViewer::doFrame()
|
|||
|
||||
if (gNonInteractive)
|
||||
{
|
||||
S32 non_interactive_ms_sleep_time = 1000;
|
||||
S32 non_interactive_ms_sleep_time = 100;
|
||||
LLAppViewer::getTextureCache()->pause();
|
||||
LLAppViewer::getImageDecodeThread()->pause();
|
||||
ms_sleep(non_interactive_ms_sleep_time);
|
||||
|
|
|
|||
|
|
@ -4077,6 +4077,11 @@ void process_avatar_animation(LLMessageSystem *mesgsys, void **user_data)
|
|||
gAgent.setFlying(FALSE);
|
||||
}
|
||||
|
||||
if (gNonInteractive && animation_id == ANIM_AGENT_RUN)
|
||||
{
|
||||
LL_INFOS() << "Noninteractive, got run request for self" << LL_ENDL;
|
||||
}
|
||||
|
||||
if (i < num_source_blocks)
|
||||
{
|
||||
mesgsys->getUUIDFast(_PREHASH_AnimationSourceList, _PREHASH_ObjectID, object_id, i);
|
||||
|
|
|
|||
|
|
@ -3807,6 +3807,11 @@ LLViewerInventoryItem* recursiveGetObjectInventoryItem(LLViewerObject *vobj, LLU
|
|||
|
||||
void LLVOAvatar::updateAnimationDebugText()
|
||||
{
|
||||
if (isSelf() && gNonInteractive)
|
||||
{
|
||||
LLVector3 vel = getVelocity();
|
||||
addDebugText(llformat("vel %f %f %f\n",vel[0],vel[1],vel[2]));
|
||||
}
|
||||
for (LLMotionController::motion_list_t::iterator iter = mMotionController.getActiveMotions().begin();
|
||||
iter != mMotionController.getActiveMotions().end(); ++iter)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue