Always zero the PhysActor on dupes to prevent side effects on the orignal prim
parent
f3678d217f
commit
7769362687
|
@ -1546,10 +1546,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
if (userExposed)
|
if (userExposed)
|
||||||
dupe.UUID = UUID.Random();
|
dupe.UUID = UUID.Random();
|
||||||
|
|
||||||
//memberwiseclone means it also clones the physics actor reference
|
dupe.PhysActor = null;
|
||||||
// This will make physical prim 'bounce' if not set to null.
|
|
||||||
if (!userExposed)
|
|
||||||
dupe.PhysActor = null;
|
|
||||||
|
|
||||||
dupe.OwnerID = AgentID;
|
dupe.OwnerID = AgentID;
|
||||||
dupe.GroupID = GroupID;
|
dupe.GroupID = GroupID;
|
||||||
|
|
Loading…
Reference in New Issue