aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie Thielker2008-08-15 16:51:26 +0000
committerMelanie Thielker2008-08-15 16:51:26 +0000
commit63856f63300c4531b9e01e4038c3cb2df7c64f69 (patch)
tree42a07bbdbca64d9139bdffc5e94fce1eb1fa9163 /OpenSim/Region
parentMantis #1961 (diff)
downloadopensim-SC_OLD-63856f63300c4531b9e01e4038c3cb2df7c64f69.zip
opensim-SC_OLD-63856f63300c4531b9e01e4038c3cb2df7c64f69.tar.gz
opensim-SC_OLD-63856f63300c4531b9e01e4038c3cb2df7c64f69.tar.bz2
opensim-SC_OLD-63856f63300c4531b9e01e4038c3cb2df7c64f69.tar.xz
Mantis #1951
Trigger a persistence save when only name or description have changed.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Environment/Scenes/InnerScene.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs
index cdc05ee..3021891 100644
--- a/OpenSim/Region/Environment/Scenes/InnerScene.cs
+++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs
@@ -1203,6 +1203,7 @@ namespace OpenSim.Region.Environment.Scenes
1203 if (m_parentScene.ExternalChecks.ExternalChecksCanEditObject(group.UUID, remoteClient.AgentId)) 1203 if (m_parentScene.ExternalChecks.ExternalChecksCanEditObject(group.UUID, remoteClient.AgentId))
1204 { 1204 {
1205 group.SetPartName(Util.CleanString(name), primLocalID); 1205 group.SetPartName(Util.CleanString(name), primLocalID);
1206 group.HasGroupChanged = true;
1206 } 1207 }
1207 } 1208 }
1208 } 1209 }
@@ -1220,6 +1221,7 @@ namespace OpenSim.Region.Environment.Scenes
1220 if (m_parentScene.ExternalChecks.ExternalChecksCanEditObject(group.UUID, remoteClient.AgentId)) 1221 if (m_parentScene.ExternalChecks.ExternalChecksCanEditObject(group.UUID, remoteClient.AgentId))
1221 { 1222 {
1222 group.SetPartDescription(Util.CleanString(description), primLocalID); 1223 group.SetPartDescription(Util.CleanString(description), primLocalID);
1224 group.HasGroupChanged = true;
1223 } 1225 }
1224 } 1226 }
1225 } 1227 }