diff options
author | Teravus Ovares | 2008-12-07 04:03:09 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-12-07 04:03:09 +0000 |
commit | 76e1462dff5594252af8e26cc6fc9b9560af090d (patch) | |
tree | d2496eef6233445d05ea21d043344d95e4fa16c8 /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |
parent | Send the creation-date of items to the viewer. This fixes Mantis#2769. (diff) | |
download | opensim-SC_OLD-76e1462dff5594252af8e26cc6fc9b9560af090d.zip opensim-SC_OLD-76e1462dff5594252af8e26cc6fc9b9560af090d.tar.gz opensim-SC_OLD-76e1462dff5594252af8e26cc6fc9b9560af090d.tar.bz2 opensim-SC_OLD-76e1462dff5594252af8e26cc6fc9b9560af090d.tar.xz |
* Tweaks physics so that linked prim are a single body. This will make linked prim more stable and probably the last obstacle to vehicles physics wise.
* Fixed a bug that caused physics proxies to be scattered when you link an object.
* Single physical prim work exactly the same as before, just linked physical prim will have changed.
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; |