Merge branch 'DRTVWR-565-maint-P' of https://bitbucket.org/lindenlab/viewer
commit
a6ce12ab2b
|
|
@ -4336,7 +4336,10 @@ void LLWindowWin32::handleCompositionMessage(const U32 indexes)
|
|||
|
||||
if (needs_update)
|
||||
{
|
||||
mPreeditor->resetPreedit();
|
||||
if (preedit_string.length() != 0 || result_string.length() != 0)
|
||||
{
|
||||
mPreeditor->resetPreedit();
|
||||
}
|
||||
|
||||
if (result_string.length() > 0)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1488,7 +1488,6 @@ bool LLAppViewer::init()
|
|||
|
||||
//LLSimpleton creations
|
||||
LLEnvironment::createInstance();
|
||||
LLEnvironment::getInstance()->initSingleton();
|
||||
LLWorld::createInstance();
|
||||
LLSelectMgr::createInstance();
|
||||
LLViewerCamera::createInstance();
|
||||
|
|
|
|||
|
|
@ -80,11 +80,6 @@ static S32 bump_channel = -1;
|
|||
|
||||
#define LL_BUMPLIST_MULTITHREADED 0 // TODO -- figure out why this doesn't work
|
||||
|
||||
// static
|
||||
void LLStandardBumpmap::init()
|
||||
{
|
||||
LLStandardBumpmap::restoreGL();
|
||||
}
|
||||
|
||||
// static
|
||||
void LLStandardBumpmap::shutdown()
|
||||
|
|
@ -95,7 +90,6 @@ void LLStandardBumpmap::shutdown()
|
|||
// static
|
||||
void LLStandardBumpmap::restoreGL()
|
||||
{
|
||||
addstandard();
|
||||
}
|
||||
|
||||
// static
|
||||
|
|
@ -799,8 +793,6 @@ void LLBumpImageList::init()
|
|||
llassert( mBrightnessEntries.size() == 0 );
|
||||
llassert( mDarknessEntries.size() == 0 );
|
||||
|
||||
LLStandardBumpmap::init();
|
||||
|
||||
LLStandardBumpmap::restoreGL();
|
||||
sMainQueue = LL::WorkQueue::getInstance("mainloop");
|
||||
sTexUpdateQueue = LL::WorkQueue::getInstance("LLImageGL"); // Share work queue with tex loader.
|
||||
|
|
|
|||
|
|
@ -118,7 +118,6 @@ public:
|
|||
static void clear();
|
||||
static void addstandard();
|
||||
|
||||
static void init();
|
||||
static void shutdown();
|
||||
static void restoreGL();
|
||||
static void destroyGL();
|
||||
|
|
|
|||
|
|
@ -2103,6 +2103,9 @@ bool idle_startup()
|
|||
// to hapen with caps granted
|
||||
gTextureList.doPrefetchImages();
|
||||
|
||||
// will init images, should be done with caps, but before gSky.init()
|
||||
LLEnvironment::getInstance()->initSingleton();
|
||||
|
||||
display_startup();
|
||||
update_texture_fetch();
|
||||
display_startup();
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@
|
|||
#include "llagent.h" // HACK for destinations guide on startup
|
||||
#include "llfloaterreg.h" // HACK for destinations guide on startup
|
||||
#include "llviewercontrol.h" // HACK for destinations guide on startup
|
||||
#include "llinventorymodel.h" // HACK to disable starter avatars button for NUX
|
||||
|
||||
#include <boost/foreach.hpp>
|
||||
|
||||
|
|
@ -382,6 +383,22 @@ bool LLToolBarView::loadToolbars(bool force_default)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// SL-18581: Don't show the starter avatar toolbar button for NUX users
|
||||
LLViewerInventoryCategory* my_outfits_cat = gInventory.getCategory(gInventory.findCategoryUUIDForType(LLFolderType::FT_MY_OUTFITS));
|
||||
if (gAgent.isFirstLogin()
|
||||
&& my_outfits_cat != NULL
|
||||
&& my_outfits_cat->getDescendentCount() > 0)
|
||||
{
|
||||
for (S32 i = LLToolBarEnums::TOOLBAR_FIRST; i <= LLToolBarEnums::TOOLBAR_LAST; i++)
|
||||
{
|
||||
if (mToolbars[i])
|
||||
{
|
||||
mToolbars[i]->removeCommand(LLCommandId("avatar"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
mToolbarsLoaded = true;
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@
|
|||
#include "llxmltree.h"
|
||||
#include "message.h"
|
||||
|
||||
#include "lldrawpoolbump.h" // to init bumpmap images
|
||||
#include "lltexturecache.h"
|
||||
#include "lltexturefetch.h"
|
||||
#include "llviewercontrol.h"
|
||||
|
|
@ -143,9 +144,6 @@ void LLViewerTextureList::doPreloadImages()
|
|||
//uv_test->setClamp(FALSE, FALSE);
|
||||
//uv_test->setMipFilterNearest(TRUE, TRUE);
|
||||
|
||||
// prefetch specific UUIDs
|
||||
LLViewerTextureManager::getFetchedTexture(IMG_SHOT);
|
||||
LLViewerTextureManager::getFetchedTexture(IMG_SMOKE_POOF);
|
||||
LLViewerFetchedTexture* image = LLViewerTextureManager::getFetchedTextureFromFile("silhouette.j2c", FTT_LOCAL_FILE, MIPMAP_YES, LLViewerFetchedTexture::BOOST_UI);
|
||||
if (image)
|
||||
{
|
||||
|
|
@ -219,13 +217,26 @@ void LLViewerTextureList::doPrefetchImages()
|
|||
gTextureTimer.start();
|
||||
gTextureTimer.pause();
|
||||
|
||||
LLViewerFetchedTexture* imagep = LLViewerTextureManager::getFetchedTexture(DEFAULT_WATER_NORMAL, FTT_DEFAULT, MIPMAP_YES, LLViewerFetchedTexture::BOOST_UI);
|
||||
if (imagep)
|
||||
// todo: do not load without getViewerAssetUrl()
|
||||
// either fail login without caps or provide this
|
||||
// in some other way, textures won't load otherwise
|
||||
LLViewerFetchedTexture *imagep = findImage(DEFAULT_WATER_NORMAL, TEX_LIST_STANDARD);
|
||||
if (!imagep)
|
||||
{
|
||||
imagep->setAddressMode(LLTexUnit::TAM_WRAP);
|
||||
mImagePreloads.insert(imagep);
|
||||
// add it to mImagePreloads only once
|
||||
imagep = LLViewerTextureManager::getFetchedTexture(DEFAULT_WATER_NORMAL, FTT_DEFAULT, MIPMAP_YES, LLViewerFetchedTexture::BOOST_UI);
|
||||
if (imagep)
|
||||
{
|
||||
imagep->setAddressMode(LLTexUnit::TAM_WRAP);
|
||||
mImagePreloads.insert(imagep);
|
||||
}
|
||||
}
|
||||
|
||||
LLViewerTextureManager::getFetchedTexture(IMG_SHOT);
|
||||
LLViewerTextureManager::getFetchedTexture(IMG_SMOKE_POOF);
|
||||
|
||||
LLStandardBumpmap::addstandard();
|
||||
|
||||
if (LLAppViewer::instance()->getPurgeCache())
|
||||
{
|
||||
// cache was purged, no point
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
follows="top|left"
|
||||
font="SansSerif"
|
||||
height="16"
|
||||
label="I have read and agree to"
|
||||
label="I have read and consent to"
|
||||
layout="topleft"
|
||||
left_delta="0"
|
||||
name="agree_chk"
|
||||
|
|
@ -76,7 +76,7 @@
|
|||
word_wrap="true"
|
||||
width="552"
|
||||
text_color="LabelTextColor"
|
||||
text_readonly_color="LabelDisabledColor">the Terms and Conditions, Privacy Policy, and Terms of Service, including the dispute resolution requirements.
|
||||
text_readonly_color="LabelDisabledColor">the Terms and Conditions, Privacy Policy, Terms of Service, and acknowledge receipt of the Privacy Policy.
|
||||
</text>
|
||||
<button
|
||||
enabled="false"
|
||||
|
|
|
|||
Loading…
Reference in New Issue