diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index b15aff8..2fc379c 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -1247,6 +1247,12 @@ if (m_shape != null) { | |||
1247 | if (userExposed) | 1247 | if (userExposed) |
1248 | dupe.UUID = UUID.Random(); | 1248 | dupe.UUID = UUID.Random(); |
1249 | 1249 | ||
1250 | //memberwiseclone means it also clones the physics actor reference | ||
1251 | // This will make physical prim 'bounce' if not set to null. | ||
1252 | if (!userExposed) | ||
1253 | dupe.PhysActor = null; | ||
1254 | |||
1255 | |||
1250 | dupe._ownerID = AgentID; | 1256 | dupe._ownerID = AgentID; |
1251 | dupe._groupID = GroupID; | 1257 | dupe._groupID = GroupID; |
1252 | dupe.GroupPosition = GroupPosition; | 1258 | dupe.GroupPosition = GroupPosition; |