mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 13:15:44 +08:00
Cause "Show in search" to trigger a persistence save
This commit is contained in:
@@ -1602,10 +1602,12 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
if (IncludeInSearch && m_parentScene.ExternalChecks.ExternalChecksCanEditObject(objid, user))
|
||||
{
|
||||
obj.ParentGroup.RootPart.AddFlag(PrimFlags.JointWheel);
|
||||
obj.ParentGroup.HasGroupChanged = true;
|
||||
}
|
||||
else if (!IncludeInSearch && m_parentScene.ExternalChecks.ExternalChecksCanMoveObject(objid,user))
|
||||
{
|
||||
obj.ParentGroup.RootPart.RemFlag(PrimFlags.JointWheel);
|
||||
obj.ParentGroup.HasGroupChanged = true;
|
||||
}
|
||||
#pragma warning restore 0612
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user