Skip to content

Commit ebd68b8

Browse files
authored
[algorithm] Using coupling points to (en|dis)able collision with the needle shaft (#79)
1 parent 568d286 commit ebd68b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sofa/collisionAlgorithm/algorithm/InsertionAlgorithm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ class InsertionAlgorithm : public BaseAlgorithm
178178
}
179179

180180
// 1.3 Collision with the shaft geometry
181-
if (collisionOutput.size())
181+
if (m_couplingPts.empty())
182182
{
183183
auto createShaftProximity =
184184
Operations::CreateCenterProximity::Operation::get(l_shaftGeom->getTypeInfo());

0 commit comments

Comments
 (0)