A whole bunch of fucking crap that didn't work while trying to restore the Pretend Inventory folder, fix for (temporary) not showing up near temp uploads. Temporary uploads still broken a bit -- Always show up at the very bottom of the texture folder, but goddamnit they work shut up. >:||

This commit is contained in:
CharleyLevenque
2010-08-25 07:47:26 -04:00
parent a901796893
commit ac3d4c2c32
4 changed files with 33 additions and 3 deletions

View File

@@ -2145,6 +2145,19 @@ bool idle_startup()
}
}
// <edit> testing adding a local inventory folder...
LLViewerInventoryCategory* test_cat = new LLViewerInventoryCategory(gAgent.getID());
test_cat->rename(std::string("Pretend Inventory"));
LLUUID test_cat_id;
test_cat_id.generate();
test_cat->setUUID(test_cat_id);
gLocalInventoryRoot = test_cat_id;
test_cat->setParent(LLUUID::null);
test_cat->setPreferredType(LLAssetType::AT_NONE);
gInventory.addCategory(test_cat);
// </edit>
// OGPX login-flags : we don't currently get those passed back (there is a gendered hack in the code elsewhere)
// unsure if OGPX should be getting all these.
if (LLUserAuth::getInstance()->mResult["login-flags"].isArray())