فهرست منبع

Bugfix: SoftBodySharedSettings::Clone wasn't cloning the bend constraints

Jorrit Rouwe 1 سال پیش
والد
کامیت
e64724e907
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      Jolt/Physics/SoftBody/SoftBodySharedSettings.cpp

+ 1 - 0
Jolt/Physics/SoftBody/SoftBodySharedSettings.cpp

@@ -416,6 +416,7 @@ Ref<SoftBodySharedSettings> SoftBodySharedSettings::Clone() const
 	clone->mFaces = mFaces;
 	clone->mEdgeConstraints = mEdgeConstraints;
 	clone->mEdgeGroupEndIndices = mEdgeGroupEndIndices;
+	clone->mDihedralBendConstraints = mDihedralBendConstraints;
 	clone->mVolumeConstraints = mVolumeConstraints;
 	clone->mSkinnedConstraints = mSkinnedConstraints;
 	clone->mSkinnedConstraintNormals = mSkinnedConstraintNormals;