Skip to content
Snippets Groups Projects
Commit ed5b46c9 authored by Oz Linden's avatar Oz Linden
Browse files

merge back changes from 3.3.4-beta2

parents 9b1208e4 077e851b
No related branches found
No related tags found
No related merge requests found
...@@ -331,3 +331,8 @@ af5f3e43e6e4424b1da19d9e16f6b853a7b822ed DRTVWR-169 ...@@ -331,3 +331,8 @@ af5f3e43e6e4424b1da19d9e16f6b853a7b822ed DRTVWR-169
005dfe5c4c377207d065fb27858d2eb0b53b143a DRTVWR-167 005dfe5c4c377207d065fb27858d2eb0b53b143a DRTVWR-167
f87bfbe0b62d26f451d02a47c80ebef6b9168fc2 3.3.4-beta1 f87bfbe0b62d26f451d02a47c80ebef6b9168fc2 3.3.4-beta1
f87bfbe0b62d26f451d02a47c80ebef6b9168fc2 DRTVWR-158 f87bfbe0b62d26f451d02a47c80ebef6b9168fc2 DRTVWR-158
f87bfbe0b62d26f451d02a47c80ebef6b9168fc2 3.3.4-beta1
cbea6356ce9cb0c313b6777f10c5c14783264fcc DRTVWR-174
bce218b2b45b730b22cc51e4807aa8b571cadef3 DRTVWR-173
f91d003091a61937a044652c4c674447f7dcbb7a 3.3.4-beta1
82b5330bc8b17d0d4b598832e9c5a92e90075682 3.3.4-beta2
File mode changed from 100644 to 100755
...@@ -336,13 +336,19 @@ namespace LLMarketplaceImport ...@@ -336,13 +336,19 @@ namespace LLMarketplaceImport
// Interface class // Interface class
// //
static const F32 MARKET_IMPORTER_UPDATE_FREQUENCY = 1.0f;
//static //static
void LLMarketplaceInventoryImporter::update() void LLMarketplaceInventoryImporter::update()
{ {
if (instanceExists()) if (instanceExists())
{ {
LLMarketplaceInventoryImporter::instance().updateImport(); static LLTimer update_timer;
if (update_timer.hasExpired())
{
LLMarketplaceInventoryImporter::instance().updateImport();
update_timer.setTimerExpirySec(MARKET_IMPORTER_UPDATE_FREQUENCY);
}
} }
} }
......
File mode changed from 100644 to 100755
...@@ -819,7 +819,10 @@ void LLFloaterTexturePicker::onSelectionChange(const std::deque<LLFolderViewItem ...@@ -819,7 +819,10 @@ void LLFloaterTexturePicker::onSelectionChange(const std::deque<LLFolderViewItem
mNoCopyTextureSelected = FALSE; mNoCopyTextureSelected = FALSE;
if (itemp) if (itemp)
{ {
mTextureSelectedCallback(itemp); if (!mTextureSelectedCallback.empty())
{
mTextureSelectedCallback(itemp);
}
if (!itemp->getPermissions().allowCopyBy(gAgent.getID())) if (!itemp->getPermissions().allowCopyBy(gAgent.getID()))
{ {
mNoCopyTextureSelected = TRUE; mNoCopyTextureSelected = TRUE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment