MAINT-3671 Fix is changed to solve issue with other multi-previews
parent
0b9eeb02ab
commit
5705a2c018
|
|
@ -91,6 +91,7 @@ void LLPreview::setObjectID(const LLUUID& object_id)
|
|||
{
|
||||
loadAsset();
|
||||
}
|
||||
refreshFromItem();
|
||||
}
|
||||
|
||||
void LLPreview::setItem( LLInventoryItem* item )
|
||||
|
|
@ -100,6 +101,7 @@ void LLPreview::setItem( LLInventoryItem* item )
|
|||
{
|
||||
loadAsset();
|
||||
}
|
||||
refreshFromItem();
|
||||
}
|
||||
|
||||
const LLInventoryItem *LLPreview::getItem() const
|
||||
|
|
|
|||
|
|
@ -1879,7 +1879,7 @@ void LLLiveLSLEditor::loadAsset()
|
|||
mIsModifiable = item && gAgent.allowOperation(PERM_MODIFY,
|
||||
item->getPermissions(),
|
||||
GP_OBJECT_MANIPULATE);
|
||||
refreshFromItem();
|
||||
|
||||
// This is commented out, because we don't completely
|
||||
// handle script exports yet.
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue