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/SceneGraph.cs | |
parent | Send the creation-date of items to the viewer. This fixes Mantis#2769. (diff) | |
download | opensim-SC-76e1462dff5594252af8e26cc6fc9b9560af090d.zip opensim-SC-76e1462dff5594252af8e26cc6fc9b9560af090d.tar.gz opensim-SC-76e1462dff5594252af8e26cc6fc9b9560af090d.tar.bz2 opensim-SC-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 '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneGraph.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneGraph.cs b/OpenSim/Region/Environment/Scenes/SceneGraph.cs index 078916a..aed01df 100644 --- a/OpenSim/Region/Environment/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Environment/Scenes/SceneGraph.cs | |||
@@ -1405,6 +1405,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
1405 | foreach (SceneObjectGroup sceneObj in children) | 1405 | foreach (SceneObjectGroup sceneObj in children) |
1406 | { | 1406 | { |
1407 | parenPrim.LinkToGroup(sceneObj); | 1407 | parenPrim.LinkToGroup(sceneObj); |
1408 | |||
1409 | // this is here so physics gets updated! | ||
1410 | // Don't remove! Bad juju! Stay away! or fix physics! | ||
1411 | sceneObj.AbsolutePosition = sceneObj.AbsolutePosition; | ||
1408 | } | 1412 | } |
1409 | 1413 | ||
1410 | // We need to explicitly resend the newly link prim's object properties since no other actions | 1414 | // We need to explicitly resend the newly link prim's object properties since no other actions |