Always zero the PhysActor on dupes to prevent side effects on the orignal prim

0.7.4.1
Melanie 2012-03-07 01:03:26 +00:00
parent f3678d217f
commit 7769362687
1 changed files with 1 additions and 4 deletions

View File

@ -1546,10 +1546,7 @@ namespace OpenSim.Region.Framework.Scenes
if (userExposed)
dupe.UUID = UUID.Random();
//memberwiseclone means it also clones the physics actor reference
// This will make physical prim 'bounce' if not set to null.
if (!userExposed)
dupe.PhysActor = null;
dupe.PhysActor = null;
dupe.OwnerID = AgentID;
dupe.GroupID = GroupID;