From 510686a9064d839d3ac0661852f1f0c906799d18 Mon Sep 17 00:00:00 2001 From: Aceeri Date: Mon, 5 Aug 2024 09:14:44 -0700 Subject: [PATCH] `InteractionGroups` default memberships value is now `GROUP_1` (#706) Co-authored-by: Thierry Berger --- CHANGELOG.md | 4 ++++ src/geometry/interaction_groups.rs | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6db3ea338..dcd001017 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ - The region key has been replaced by an i64 in the f64 version of rapier, increasing the range before panics occur. +### Modified + +- `InteractionGroups` default value for `memberships` is now `GROUP_1` (#706) + ## v0.22.0 (20 July 2024) ### Fix diff --git a/src/geometry/interaction_groups.rs b/src/geometry/interaction_groups.rs index 10ba783d7..d8941f752 100644 --- a/src/geometry/interaction_groups.rs +++ b/src/geometry/interaction_groups.rs @@ -71,7 +71,10 @@ impl InteractionGroups { impl Default for InteractionGroups { fn default() -> Self { - Self::all() + Self { + memberships: Group::GROUP_1, + filter: Group::ALL, + } } }