From db949eeca0ff6fdec4b873ed9284e168e23d9e18 Mon Sep 17 00:00:00 2001 From: Irlan Date: Mon, 3 Jun 2019 18:37:32 -0300 Subject: [PATCH] Bugfix --- src/bounce/cloth/cloth.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/bounce/cloth/cloth.cpp b/src/bounce/cloth/cloth.cpp index a5be051..4a7c1ec 100644 --- a/src/bounce/cloth/cloth.cpp +++ b/src/bounce/cloth/cloth.cpp @@ -172,12 +172,6 @@ b3Cloth::b3Cloth(const b3ClothDef& def) : b3Particle* p = CreateParticle(pd); p->m_vertex = i; - - b3AABB3 aabb; - aabb.Set(p->m_position, p->m_radius); - - p->m_treeId = m_particleTree.InsertNode(aabb, p); - m_vertexParticles[i] = p; }