mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 10:46:00 +08:00
replace calls to SetOwnerId and SetRootPartOwner by a single new SetOwner() so owner is not changed twice on rootpart
This commit is contained in:
@@ -2103,8 +2103,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
if (original.OwnerID != AgentID)
|
||||
{
|
||||
copy.SetOwnerId(AgentID);
|
||||
copy.SetRootPartOwner(copy.RootPart, AgentID, GroupID);
|
||||
copy.SetOwner(AgentID, GroupID);
|
||||
|
||||
SceneObjectPart[] partList = copy.Parts;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user