fix rez time on inworld object copy

master
UbitUmarov 2020-04-06 12:02:36 +01:00
parent 0a4232430b
commit 3989dbac31
1 changed files with 3 additions and 0 deletions

View File

@ -2142,6 +2142,9 @@ namespace OpenSim.Region.Framework.Scenes
SceneObjectGroup copy = original.Copy(true); SceneObjectGroup copy = original.Copy(true);
copy.AbsolutePosition = copy.AbsolutePosition + offset; copy.AbsolutePosition = copy.AbsolutePosition + offset;
copy.RootPart.Rezzed = DateTime.UtcNow;
copy.RootPart.RezzerID = AgentID;
SceneObjectPart[] parts = copy.Parts; SceneObjectPart[] parts = copy.Parts;
m_numTotalPrim += parts.Length; m_numTotalPrim += parts.Length;