Created a KX_SoftBodyDeformer for real-time soft bodies.
[blender.git] / source / gameengine / Converter / BL_SkinMeshObject.cpp
index 4f9f1a434b5437b1f21f105b733849b2ce11065e..eb3f9d0588d033d6ed7741cf605cebffcd602d18 100644 (file)
@@ -87,7 +87,7 @@ void BL_SkinMeshObject::UpdateBuckets(void* clientobj,double* oglmatrix,bool use
                        continue;
 
                RAS_MeshSlot *slot = *it->m_slots[clientobj];
-               slot->m_pDeformer = ((BL_DeformableGameObject*)clientobj)->m_pDeformer;
+               slot->m_pDeformer = ((BL_DeformableGameObject*)clientobj)->GetDeformer();
        }
 
        RAS_MeshObject::UpdateBuckets(clientobj, oglmatrix, useObjectColor, rgbavec, visible, culled);