aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin
diff options
context:
space:
mode:
authorMelanie2009-11-27 00:40:56 +0000
committerMelanie2009-11-27 00:40:56 +0000
commitcc18ab12f87721dfb2db563c4aac68788126f391 (patch)
tree5455318e8833287cc53d5a4936233e61a57afacc /OpenSim/Region/Physics/OdePlugin
parentMerge branch 'careminster' into tests (diff)
parentMerge branch 'master' of ssh://MyConnection/var/git/opensim (diff)
downloadopensim-SC-cc18ab12f87721dfb2db563c4aac68788126f391.zip
opensim-SC-cc18ab12f87721dfb2db563c4aac68788126f391.tar.gz
opensim-SC-cc18ab12f87721dfb2db563c4aac68788126f391.tar.bz2
opensim-SC-cc18ab12f87721dfb2db563c4aac68788126f391.tar.xz
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODEPrim.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
index b0e9a91..8459dab 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
@@ -2158,7 +2158,10 @@ Console.WriteLine(" JointCreateFixed");
2158 // Re creates body on size. 2158 // Re creates body on size.
2159 // EnableBody also does setMass() 2159 // EnableBody also does setMass()
2160 enableBody(); 2160 enableBody();
2161 d.BodyEnable(Body); 2161 if (Body != IntPtr.Zero)
2162 {
2163 d.BodyEnable(Body);
2164 }
2162 } 2165 }
2163 _parent_scene.geom_name_map[prim_geom] = oldname; 2166 _parent_scene.geom_name_map[prim_geom] = oldname;
2164 2167