mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Mantis #1951
Trigger a persistence save when only name or description have changed.
This commit is contained in:
@@ -1203,6 +1203,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
if (m_parentScene.ExternalChecks.ExternalChecksCanEditObject(group.UUID, remoteClient.AgentId))
|
||||
{
|
||||
group.SetPartName(Util.CleanString(name), primLocalID);
|
||||
group.HasGroupChanged = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1220,6 +1221,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
if (m_parentScene.ExternalChecks.ExternalChecksCanEditObject(group.UUID, remoteClient.AgentId))
|
||||
{
|
||||
group.SetPartDescription(Util.CleanString(description), primLocalID);
|
||||
group.HasGroupChanged = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user