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) if active_events.contains(ActiveEvents::INTERSECTION_EVENTS)
&& intersection != edge.weight && intersection != edge.weight
{ {
edge.weight = intersection;
events.handle_intersection_event(IntersectionEvent::new( events.handle_intersection_event(IntersectionEvent::new(
handle1, handle1,
handle2, handle2,
intersection, intersection,
)); ));
} }
edge.weight = intersection;
} }
}); });
} }