mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-10-03 07:25:30 +00:00
Merge pull request #2685 from xhan0619/fix2675
fix issue #2675: update dbvt volume immediately after face tree is in…
This commit is contained in:
@@ -2637,6 +2637,7 @@ void btSoftBody::initializeFaceTree()
|
||||
}
|
||||
}
|
||||
m_fdbvt.m_root = buildTreeBottomUp(leafNodes, adj);
|
||||
updateFaceTree(false, true);
|
||||
if (m_fdbvnt)
|
||||
delete m_fdbvnt;
|
||||
m_fdbvnt = copyToDbvnt(m_fdbvt.m_root);
|
||||
|
||||
Reference in New Issue
Block a user