small fixes for inv slurl functionality

meow-7.2.2
Eric M. Tulla (BigPapi) 2009-11-23 19:59:47 -05:00
parent 9eb42546dc
commit 2bdf430de1
2 changed files with 2 additions and 3 deletions

View File

@ -80,7 +80,7 @@ public:
}
const std::string verb = params[1].asString();
if (verb == "select")
//if (verb == "select")
{
std::vector<LLUUID> items_to_open;
items_to_open.push_back(inventory_id);

View File

@ -169,7 +169,6 @@ static const F32 LLREQUEST_PERMISSION_THROTTLE_INTERVAL = 10.0f; // seconds
extern BOOL gDebugClicks;
// function prototypes
void open_offer(const std::vector<LLUUID>& items, const std::string& from_name);
bool check_offer_throttle(const std::string& from_name, bool check_only);
//inventory offer throttle globals
@ -744,7 +743,7 @@ class LLOpenTaskOffer : public LLInventoryAddedObserver
protected:
/*virtual*/ void done()
{
open_offer(mAdded, "");
open_inventory_offer(mAdded, "");
mAdded.clear();
}
};