d520053 - MAINT-852 / VWR-8761 : Cannot delete object description. Now you can.

This commit is contained in:
Lirusaito
2013-01-17 01:11:59 -05:00
parent 5831af0fb6
commit 795f70a0b0

View File

@@ -4655,8 +4655,8 @@ void LLSelectMgr::packObjectName(LLSelectNode* node, void* user_data)
void LLSelectMgr::packObjectDescription(LLSelectNode* node, void* user_data)
{
const std::string* desc = (const std::string*)user_data;
if(!desc->empty())
{
if(desc)
{ // Empty (non-null, but zero length) descriptions are OK
gMessageSystem->nextBlockFast(_PREHASH_ObjectData);
gMessageSystem->addU32Fast(_PREHASH_LocalID, node->getObject()->getLocalID());
gMessageSystem->addStringFast(_PREHASH_Description, *desc);