We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5d6c2d commit fb4e2c7Copy full SHA for fb4e2c7
src/sofa/collisionAlgorithm/algorithm/InsertionAlgorithm.h
@@ -210,6 +210,7 @@ class InsertionAlgorithm : public BaseAlgorithm
210
auto createTipProximity =
211
Operations::CreateCenterProximity::Operation::get(itTip->getTypeInfo());
212
const BaseProximity::SPtr tipProx = createTipProximity(itTip->element());
213
+ if(!tipProx) return;
214
215
// 2.1 Check whether coupling point should be added
216
const type::Vec3 tip2Pt = m_couplingPts.back()->getPosition() - tipProx->getPosition();
0 commit comments