mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
Always zero the PhysActor on dupes to prevent side effects on the orignal prim
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user