Merge branch 'master' into careminster

avinationmerge
Melanie 2009-11-27 00:40:56 +00:00
commit cc18ab12f8
1 changed files with 4 additions and 1 deletions

View File

@ -2158,7 +2158,10 @@ Console.WriteLine(" JointCreateFixed");
// Re creates body on size. // Re creates body on size.
// EnableBody also does setMass() // EnableBody also does setMass()
enableBody(); enableBody();
d.BodyEnable(Body); if (Body != IntPtr.Zero)
{
d.BodyEnable(Body);
}
} }
_parent_scene.geom_name_map[prim_geom] = oldname; _parent_scene.geom_name_map[prim_geom] = oldname;