Fix T40697: Skinned meshes with shapekeys crashing in the BGE

This commit is contained in:
Mitchell Stokes 2014-06-19 18:20:56 -07:00
parent d43ba1b33c
commit 84e8cabac6

@ -1616,7 +1616,7 @@ static void update_anim_thread_func(TaskPool *pool, void *taskdata, int UNUSED(t
gameobj->UpdateActionManager(curtime);
children = gameobj->GetChildren();
if (gameobj->GetDeformer())
if (!gameobj->GetParent() && gameobj->GetDeformer())
gameobj->GetDeformer()->Update();
for (int j=0; j<children->GetCount(); ++j) {