Feature Request: Allow bulk edit for objects' descriptions and names
Translators need to translate the multiple_objects_selected string in floater_tools.xml
This commit is contained in:
@@ -4290,7 +4290,7 @@ void LLSelectMgr::selectionSetObjectName(const std::string& name)
|
||||
std::string name_copy(name);
|
||||
|
||||
// we only work correctly if 1 object is selected.
|
||||
if(mSelectedObjects->getRootObjectCount() == 1)
|
||||
if(mSelectedObjects->getRootObjectCount() /*== 1*/) // Singu Note: It was requested that the user be able to bulk rename
|
||||
{
|
||||
sendListToRegions("ObjectName",
|
||||
packAgentAndSessionID,
|
||||
@@ -4298,7 +4298,7 @@ void LLSelectMgr::selectionSetObjectName(const std::string& name)
|
||||
(void*)(&name_copy),
|
||||
SEND_ONLY_ROOTS);
|
||||
}
|
||||
else if(mSelectedObjects->getObjectCount() == 1)
|
||||
else if(mSelectedObjects->getObjectCount() /*== 1*/)
|
||||
{
|
||||
sendListToRegions("ObjectName",
|
||||
packAgentAndSessionID,
|
||||
@@ -4313,7 +4313,7 @@ void LLSelectMgr::selectionSetObjectDescription(const std::string& desc)
|
||||
std::string desc_copy(desc);
|
||||
|
||||
// we only work correctly if 1 object is selected.
|
||||
if(mSelectedObjects->getRootObjectCount() == 1)
|
||||
if (mSelectedObjects->getRootObjectCount() /*== 1*/) // Singu Note: It was requested that the user be able to bulk change description
|
||||
{
|
||||
sendListToRegions("ObjectDescription",
|
||||
packAgentAndSessionID,
|
||||
@@ -4321,7 +4321,7 @@ void LLSelectMgr::selectionSetObjectDescription(const std::string& desc)
|
||||
(void*)(&desc_copy),
|
||||
SEND_ONLY_ROOTS);
|
||||
}
|
||||
else if(mSelectedObjects->getObjectCount() == 1)
|
||||
else if (mSelectedObjects->getObjectCount() /*== 1*/)
|
||||
{
|
||||
sendListToRegions("ObjectDescription",
|
||||
packAgentAndSessionID,
|
||||
|
||||
Reference in New Issue
Block a user