diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2009-12-22 21:39:42 +0300 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2009-12-22 21:39:42 +0300 |
commit | 8c72e1835416187891cc893b8e573fdf56e4f03d (patch) | |
tree | 4284803be5e3cf9da8f620fc872805ee4b5377be | |
parent | b3d30c66babbd656647bcdead36db00d7e52cd5d (diff) |
BGE: fix bug with rigid body joint constraint target name: skip OB letter.
-rw-r--r-- | source/gameengine/Converter/BL_BlenderDataConversion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Converter/BL_BlenderDataConversion.cpp b/source/gameengine/Converter/BL_BlenderDataConversion.cpp index 31616fdec15..4c596055495 100644 --- a/source/gameengine/Converter/BL_BlenderDataConversion.cpp +++ b/source/gameengine/Converter/BL_BlenderDataConversion.cpp @@ -2572,7 +2572,7 @@ void BL_ConvertBlenderObjects(struct Main* maggie, if (dat->tar) { - KX_GameObject *gotar=getGameOb(dat->tar->id.name,sumolist); + KX_GameObject *gotar=getGameOb(dat->tar->id.name+2,sumolist); if (gotar && gotar->GetPhysicsController()) physctr2 = (PHY_IPhysicsController*) gotar->GetPhysicsController()->GetUserData(); } |