소스 검색

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;