viewer#1117 optimize one getIsCloud() away
getIsCloud() is relatively expensive, especially for 'self', yet getRezzedStatus() already checks it and return 0, no need to repeat.master
parent
a0c52be079
commit
398369233f
|
|
@ -8270,7 +8270,7 @@ void LLVOAvatar::logMetricsTimerRecord(const std::string& phase_name, F32 elapse
|
|||
bool LLVOAvatar::updateIsFullyLoaded()
|
||||
{
|
||||
S32 rez_status = getRezzedStatus();
|
||||
bool loading = getIsCloud();
|
||||
bool loading = rez_status == 0;
|
||||
if (mFirstFullyVisible && !mIsControlAvatar)
|
||||
{
|
||||
loading = ((rez_status < 2)
|
||||
|
|
|
|||
Loading…
Reference in New Issue