mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-11-16 20:56:04 +00:00
fix issue #2675: update dbvt volume immediately after face tree is initialized to prevent empty volumes
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