Update intersection graph regardless of active_events

This commit is contained in:
Benjamin Saunders
2021-07-11 13:19:27 -07:00
committed by Sébastien Crozet
parent ddb978c77a
commit 92b8580761

View File

@@ -783,13 +783,13 @@ impl NarrowPhase {
if active_events.contains(ActiveEvents::INTERSECTION_EVENTS)
&& intersection != edge.weight
{
edge.weight = intersection;
events.handle_intersection_event(IntersectionEvent::new(
handle1,
handle2,
intersection,
));
}
edge.weight = intersection;
}
});
}