Cause "Show in search" to trigger a persistence save
parent
74f89fb22d
commit
4672ea6e49
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue