diff --git a/src/BulletSoftBody/btSoftBody.cpp b/src/BulletSoftBody/btSoftBody.cpp index 57c761306..9f7d5bcad 100644 --- a/src/BulletSoftBody/btSoftBody.cpp +++ b/src/BulletSoftBody/btSoftBody.cpp @@ -704,6 +704,10 @@ void btSoftBody::clusterDCImpulse(Cluster* cluster,const btVector3& impulse) cluster->m_ndimpulses++; } +struct NodeLinks +{ + btAlignedObjectArray m_links; +}; @@ -748,11 +752,6 @@ int btSoftBody::generateBendingConstraints(int distance,Material* mat) if (distance == 2) { - struct NodeLinks - { - btAlignedObjectArray m_links; - }; - btAlignedObjectArray nodeLinks;