Merge branch 'develop' of https://github.com/secondlife/viewer
# Conflicts: # indra/newview/llviewertexturelist.cppmaster
commit
eda6b27185
|
|
@ -536,12 +536,16 @@ bool LLComboBox::setCurrentByIndex(S32 index)
|
|||
if (item->getEnabled())
|
||||
{
|
||||
mList->selectItem(item, -1, true);
|
||||
LLSD::String label = item->getColumn(0)->getValue().asString();
|
||||
if (mTextEntry)
|
||||
{
|
||||
LLSD::String label = item->getColumn(0)->getValue().asString();
|
||||
mTextEntry->setText(label);
|
||||
mTextEntry->setTentative(false);
|
||||
}
|
||||
if (!mAllowTextEntry)
|
||||
{
|
||||
mButton->setLabel(label);
|
||||
}
|
||||
mLastSelectedIndex = index;
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1044,7 +1044,7 @@ void LLImagePreviewSculpted::setPreviewTarget(LLImageRaw* imagep, F32 distance)
|
|||
}
|
||||
|
||||
// build indices
|
||||
for (U16 i = 0; i < num_indices; i++)
|
||||
for (U32 i = 0; i < num_indices; i++)
|
||||
{
|
||||
*(index_strider++) = vf.mIndices[i];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -299,7 +299,7 @@ public:
|
|||
"avatar_picker",
|
||||
"camera",
|
||||
"camera_presets",
|
||||
"change_item_thumbnail"
|
||||
"change_item_thumbnail",
|
||||
"classified",
|
||||
"add_landmark",
|
||||
"delete_pref_preset",
|
||||
|
|
|
|||
|
|
@ -556,7 +556,7 @@ void LLViewerTexture::updateClass()
|
|||
if (sEvaluationTimer.getElapsedTimeF32() > MEMORY_CHECK_WAIT_TIME)
|
||||
{
|
||||
static LLCachedControl<F32> low_mem_min_discard_increment(gSavedSettings, "RenderLowMemMinDiscardIncrement", .1f);
|
||||
sDesiredDiscardBias += (F32)low_mem_min_discard_increment * (F32)gFrameIntervalSeconds;
|
||||
sDesiredDiscardBias += (F32) low_mem_min_discard_increment * (F32) gFrameIntervalSeconds;
|
||||
sEvaluationTimer.reset();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue