From a238eae593ecc63cd6b461d02335dbaa6977e740 Mon Sep 17 00:00:00 2001 From: Whirly Date: Fri, 8 Mar 2013 14:57:15 +0000 Subject: [PATCH] FIRE-9410 : Fix for login crash when z offset was not zero Thanks to Zi for teaching me about Null pointer checks :) --- indra/newview/llviewercontrol.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/newview/llviewercontrol.cpp b/indra/newview/llviewercontrol.cpp index ef115244cc..1f845da74b 100644 --- a/indra/newview/llviewercontrol.cpp +++ b/indra/newview/llviewercontrol.cpp @@ -562,6 +562,7 @@ bool handleSettingF32Change(const LLSD& sdValue, F32* pValue) // ## Zi: Moved Avatar Z offset from RLVa to here bool handleAvatarZOffsetChanged(const LLSD& sdValue) { + if (gAgentAvatarp) gAgentAvatarp->computeBodySize(); return true; }