EXT-614 Object inventory does not update to show inventory created or placed in the object.
Reviewed by: Seraphmeow-7.2.2
parent
558897b4b9
commit
10459c79e7
|
|
@ -446,7 +446,7 @@ void LLFloaterTools::draw()
|
|||
void LLFloaterTools::dirty()
|
||||
{
|
||||
mDirty = TRUE;
|
||||
LLFloaterOpenObject* instance = LLFloaterReg::getTypedInstance<LLFloaterOpenObject>("openobject");
|
||||
LLFloaterOpenObject* instance = LLFloaterReg::findTypedInstance<LLFloaterOpenObject>("openobject");
|
||||
if (instance) instance->dirty();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -111,11 +111,16 @@ BOOL LLInventoryFilter::check(LLFolderViewItem* item)
|
|||
}
|
||||
else
|
||||
{
|
||||
passed_type |= ((1LL << listener->getInventoryType() & mFilterOps.mFilterTypes) != U64(0));
|
||||
if (listener->getInventoryType() == LLInventoryType::IT_NONE)
|
||||
LLInventoryType::EType type = listener->getInventoryType();
|
||||
passed_type |= ((1LL << type & mFilterOps.mFilterTypes) != U64(0));
|
||||
if (type == LLInventoryType::IT_NONE)
|
||||
{
|
||||
const LLInventoryObject *obj = gInventory.getObject(listener->getUUID());
|
||||
if (obj && !obj->getIsLinkType())
|
||||
if (obj && obj->getIsLinkType())
|
||||
{
|
||||
passed_type = FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
passed_type = TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue