Commits

Anonymous committed d520053

MAINT-852 / VWR-8761 : Cannot delete object description. Now you can. Reviewed
by Kelly.

  • Participants
  • Parent commits d19ccd3

Comments (0)

Files changed (1)

indra/newview/llselectmgr.cpp

 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);