that should mostly be it for local inventory
This commit is contained in:
@@ -238,10 +238,10 @@ void DOFloaterHex::assetCallback(LLVFS *vfs,
|
||||
}
|
||||
|
||||
// Never enable save if it's a pretend item
|
||||
/* if(gInventory.isObjectDescendentOf(item->getUUID(), gLocalInventoryRoot))
|
||||
if(gInventory.isObjectDescendentOf(item->getUUID(), gLocalInventoryRoot))
|
||||
{
|
||||
floater->childSetEnabled("save_btn", false);
|
||||
} */
|
||||
}
|
||||
}
|
||||
|
||||
// static
|
||||
@@ -278,7 +278,6 @@ void DOFloaterHex::onClickUpload(void* user_data)
|
||||
if(item->getType() != LLAssetType::AT_GESTURE && item->getType() != LLAssetType::AT_LSL_TEXT
|
||||
&& item->getType() != LLAssetType::AT_NOTECARD)
|
||||
{
|
||||
//U32 const std::string &display_name, LLAssetStorage::LLStoreAssetCallback callback, S32 expected_upload_cost, void *userdata)
|
||||
upload_new_resource(transaction_id,
|
||||
item->getType(),
|
||||
item->getName(),
|
||||
|
||||
Reference in New Issue
Block a user