Do not attach cam to avatar in Freeze Time mode.
We do, and the avatar moves then the cam jumps away from the frozen avatar to where it really is. Unfortunately, it's still not possible to attach the cam to moving objects with this patch. Also, scripted changes to objects are still visible, like changes in local lights of texture full brightness.
This commit is contained in:
@@ -2523,9 +2523,10 @@ void LLAgentCamera::setFocusObject(LLViewerObject* object)
|
||||
//-----------------------------------------------------------------------------
|
||||
void LLAgentCamera::setFocusGlobal(const LLPickInfo& pick)
|
||||
{
|
||||
static const LLCachedControl<bool> freeze_time("FreezeTime",false);
|
||||
LLViewerObject* objectp = gObjectList.findObject(pick.mObjectID);
|
||||
|
||||
if (objectp)
|
||||
if (objectp && !freeze_time)
|
||||
{
|
||||
// focus on object plus designated offset
|
||||
// which may or may not be same as pick.mPosGlobal
|
||||
|
||||
Reference in New Issue
Block a user