Cause "Show in search" to trigger a persistence save

0.6.0-stable
Melanie Thielker 2008-10-04 03:04:00 +00:00
parent 74f89fb22d
commit 4672ea6e49
1 changed files with 2 additions and 0 deletions

View File

@ -1602,10 +1602,12 @@ namespace OpenSim.Region.Environment.Scenes
if (IncludeInSearch && m_parentScene.ExternalChecks.ExternalChecksCanEditObject(objid, user)) if (IncludeInSearch && m_parentScene.ExternalChecks.ExternalChecksCanEditObject(objid, user))
{ {
obj.ParentGroup.RootPart.AddFlag(PrimFlags.JointWheel); obj.ParentGroup.RootPart.AddFlag(PrimFlags.JointWheel);
obj.ParentGroup.HasGroupChanged = true;
} }
else if (!IncludeInSearch && m_parentScene.ExternalChecks.ExternalChecksCanMoveObject(objid,user)) else if (!IncludeInSearch && m_parentScene.ExternalChecks.ExternalChecksCanMoveObject(objid,user))
{ {
obj.ParentGroup.RootPart.RemFlag(PrimFlags.JointWheel); obj.ParentGroup.RootPart.RemFlag(PrimFlags.JointWheel);
obj.ParentGroup.HasGroupChanged = true;
} }
#pragma warning restore 0612 #pragma warning restore 0612
} }