diff options
Merge branch 'master' of ssh://dahlia@myConnection01/var/git/opensim
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODEPrim.cs')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs index 17552d2..9e9c36f 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | |||
@@ -2099,7 +2099,10 @@ Console.WriteLine(" JointCreateFixed"); | |||
2099 | // Re creates body on size. | 2099 | // Re creates body on size. |
2100 | // EnableBody also does setMass() | 2100 | // EnableBody also does setMass() |
2101 | enableBody(); | 2101 | enableBody(); |
2102 | d.BodyEnable(Body); | 2102 | if (Body != IntPtr.Zero) |
2103 | { | ||
2104 | d.BodyEnable(Body); | ||
2105 | } | ||
2103 | } | 2106 | } |
2104 | _parent_scene.geom_name_map[prim_geom] = oldname; | 2107 | _parent_scene.geom_name_map[prim_geom] = oldname; |
2105 | 2108 | ||